Update 'Dockerfile'

This commit is contained in:
dany 2022-08-05 12:35:45 +02:00
parent e544f74c0c
commit 76807fff84

View File

@ -26,9 +26,10 @@ FROM busybox:stable-glibc
COPY --from=deploy-env /ulib/* /lib/
COPY --from=deploy-env /bin/wget /bin/
# copy backend
RUN export ARCH=$(uname -m)
RUN echo "arch is $ARCH"
COPY antos/backend/$ARCH/ /
COPY antos/backend/ /
# use correct backend value
RUN cp /backend/$(uname -m) /
RUN rm -rf /backend
RUN rm /etc/systemd -rf
# copy frontend
COPY antos/frontend/ /