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 --from=deploy-env /ulib/* /lib/
|
||||
COPY --from=deploy-env /bin/wget /bin/
|
||||
|
||||
# copy antd-server
|
||||
COPY /var/jenkins_home/workspace/ant-http/build/$ARCH/opt/* /opt/
|
||||
COPY /var/jenkins_home/workspace/ant-http/build/$ARCH/usr/* /opt/
|
||||
# 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/* /
|
||||
# copy backend
|
||||
COPY antos/backend/$ARCH/* /
|
||||
# copy frontend
|
||||
COPY antos/frontend/* /
|
||||
RUN chown -R root:root /opt/www/htdocs/
|
||||
RUN rm -rf /etc/systemd
|
||||
COPY start.sh /start.sh
|
||||
RUN chmod 700 /start.sh
|
||||
ENTRYPOINT /start.sh
|
||||
|
Loading…
Reference in New Issue
Block a user