Update 'Dockerfile'
This commit is contained in:
parent
0331675480
commit
9d7d225413
@ -49,7 +49,7 @@ RUN mkdir /platform
|
|||||||
COPY antos/ /
|
COPY antos/ /
|
||||||
RUN cp /backend/$(uname -m)/* /platform -rf
|
RUN cp /backend/$(uname -m)/* /platform -rf
|
||||||
FROM busybox:stable-glibc
|
FROM busybox:stable-glibc
|
||||||
|
ARG tag
|
||||||
#copy all necessary libraries
|
#copy all necessary libraries
|
||||||
COPY --from=deploy-env /ulib/* /lib/
|
COPY --from=deploy-env /ulib/* /lib/
|
||||||
COPY --from=deploy-env /bin/wget /bin/
|
COPY --from=deploy-env /bin/wget /bin/
|
||||||
@ -67,7 +67,7 @@ COPY antd-config.ini /opt/www/antd-config.ini
|
|||||||
COPY runner.ini /opt/www/runner.ini
|
COPY runner.ini /opt/www/runner.ini
|
||||||
RUN chmod 744 /opt/www/antd-config.ini
|
RUN chmod 744 /opt/www/antd-config.ini
|
||||||
RUN chmod 744 /opt/www/runner.ini
|
RUN chmod 744 /opt/www/runner.ini
|
||||||
COPY antos/frontend/ /
|
COPY antos/frontend/$tag /
|
||||||
RUN chown -R root:root /opt/www/htdocs/
|
RUN chown -R root:root /opt/www/htdocs/
|
||||||
RUN rm -rf /etc/systemd
|
RUN rm -rf /etc/systemd
|
||||||
COPY start.sh /start.sh
|
COPY start.sh /start.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user