Update 'Dockerfile'
This commit is contained in:
parent
e544f74c0c
commit
76807fff84
@ -26,9 +26,10 @@ FROM busybox:stable-glibc
|
|||||||
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/
|
||||||
# copy backend
|
# copy backend
|
||||||
RUN export ARCH=$(uname -m)
|
COPY antos/backend/ /
|
||||||
RUN echo "arch is $ARCH"
|
# use correct backend value
|
||||||
COPY antos/backend/$ARCH/ /
|
RUN cp /backend/$(uname -m) /
|
||||||
|
RUN rm -rf /backend
|
||||||
RUN rm /etc/systemd -rf
|
RUN rm /etc/systemd -rf
|
||||||
# copy frontend
|
# copy frontend
|
||||||
COPY antos/frontend/ /
|
COPY antos/frontend/ /
|
||||||
|
Loading…
Reference in New Issue
Block a user