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-*/libidn2* /ulib
|
||||||
RUN cp -rf /lib/*-linux-*/libpsl* /ulib
|
RUN cp -rf /lib/*-linux-*/libpsl* /ulib
|
||||||
RUN cp -rf /lib/*-linux-*/libunistring* /ulib
|
RUN cp -rf /lib/*-linux-*/libunistring* /ulib
|
||||||
|
RUN mkdir /platform
|
||||||
|
COPY antos/backend/ /
|
||||||
|
RUN cp /backend/$(uname -m)/ /platform
|
||||||
FROM busybox:stable-glibc
|
FROM busybox:stable-glibc
|
||||||
|
|
||||||
#copy all necessary libraries
|
#copy all necessary libraries
|
||||||
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
|
||||||
COPY antos/backend/ /
|
COPY --from=deploy-env /platform/ /
|
||||||
# use correct backend value
|
|
||||||
RUN cp /backend/$(uname -m) /
|
|
||||||
RUN rm -rf /backend
|
|
||||||
RUN rm /etc/systemd -rf
|
RUN rm /etc/systemd -rf
|
||||||
|
RUN ls /
|
||||||
# copy frontend
|
# copy frontend
|
||||||
COPY antos/frontend/ /
|
COPY antos/frontend/ /
|
||||||
RUN chown -R root:root /opt/www/htdocs/
|
RUN chown -R root:root /opt/www/htdocs/
|
||||||
|
Loading…
Reference in New Issue
Block a user