Update 'Dockerfile'
This commit is contained in:
parent
76807fff84
commit
35387129fe
10
Dockerfile
10
Dockerfile
@ -19,18 +19,18 @@ RUN cp -rf /lib/*-linux-*/libuuid* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libidn2* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libpsl* /ulib
|
||||
RUN cp -rf /lib/*-linux-*/libunistring* /ulib
|
||||
|
||||
RUN mkdir /platform
|
||||
COPY antos/backend/ /
|
||||
RUN cp /backend/$(uname -m)/ /platform
|
||||
FROM busybox:stable-glibc
|
||||
|
||||
#copy all necessary libraries
|
||||
COPY --from=deploy-env /ulib/* /lib/
|
||||
COPY --from=deploy-env /bin/wget /bin/
|
||||
# copy backend
|
||||
COPY antos/backend/ /
|
||||
# use correct backend value
|
||||
RUN cp /backend/$(uname -m) /
|
||||
RUN rm -rf /backend
|
||||
COPY --from=deploy-env /platform/ /
|
||||
RUN rm /etc/systemd -rf
|
||||
RUN ls /
|
||||
# copy frontend
|
||||
COPY antos/frontend/ /
|
||||
RUN chown -R root:root /opt/www/htdocs/
|
||||
|
Loading…
Reference in New Issue
Block a user