Update 'Dockerfile'

This commit is contained in:
dany 2022-09-16 13:38:18 +02:00
parent 0331675480
commit 9d7d225413

View File

@ -49,7 +49,7 @@ RUN mkdir /platform
COPY antos/ /
RUN cp /backend/$(uname -m)/* /platform -rf
FROM busybox:stable-glibc
ARG tag
#copy all necessary libraries
COPY --from=deploy-env /ulib/* /lib/
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
RUN chmod 744 /opt/www/antd-config.ini
RUN chmod 744 /opt/www/runner.ini
COPY antos/frontend/ /
COPY antos/frontend/$tag /
RUN chown -R root:root /opt/www/htdocs/
RUN rm -rf /etc/systemd
COPY start.sh /start.sh