Update 'Dockerfile'
This commit is contained in:
parent
bfde39166a
commit
5b0509a9d0
23
Dockerfile
23
Dockerfile
@ -26,25 +26,12 @@ ARG ARCH
|
|||||||
#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 antd-server
|
COPY antos/backend/$ARCH/* /
|
||||||
COPY /var/jenkins_home/workspace/ant-http/build/$ARCH/opt/* /opt/
|
# copy frontend
|
||||||
COPY /var/jenkins_home/workspace/ant-http/build/$ARCH/usr/* /opt/
|
COPY antos/frontend/* /
|
||||||
# copy lua plugin
|
|
||||||
COPY /var/jenkins_home/workspace/antd-lua-plugin/build/$ARCH/* /
|
|
||||||
# copy tunnel plugin
|
|
||||||
COPY /var/jenkins_home/workspace/antd-tunnel-plugin/build/$ARCH/* /
|
|
||||||
# publishers
|
|
||||||
COPY /var/jenkins_home/workspace/antd-tunnel-publishers/build/$ARCH/* /
|
|
||||||
# webapp
|
|
||||||
RUN mkdir -p /opt/www/htdocs/{os,silk}
|
|
||||||
COPY /var/jenkins_home/workspace/antd-web-apps/build/opt/www/htdocs/os/* /opt/www/htdocs/os/
|
|
||||||
COPY /var/jenkins_home/workspace/antd-web-apps/build/opt/www/htdocs/silk/* /opt/www/htdocs/silk/
|
|
||||||
COPY /var/jenkins_home/workspace/antd-web-apps/build/opt/www/htdocs/mimes.json /opt/www/htdocs/mimes.json
|
|
||||||
RUN rm -rf /opt/www/htdocs/os/rst
|
|
||||||
# antos
|
|
||||||
COPY /var/jenkins_home/workspace/antos/build/* /
|
|
||||||
RUN chown -R root:root /opt/www/htdocs/
|
RUN chown -R root:root /opt/www/htdocs/
|
||||||
|
RUN rm -rf /etc/systemd
|
||||||
COPY start.sh /start.sh
|
COPY start.sh /start.sh
|
||||||
RUN chmod 700 /start.sh
|
RUN chmod 700 /start.sh
|
||||||
ENTRYPOINT /start.sh
|
ENTRYPOINT /start.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user