From 9d7d2254133f8e733fddf5d38df7bc86267bb3ca Mon Sep 17 00:00:00 2001 From: dany Date: Fri, 16 Sep 2022 13:38:18 +0200 Subject: [PATCH] Update 'Dockerfile' --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f72d8f3..6133bd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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