a7157bcc zb

jenkins

0 个父辈
FROM docker.77s.vip/java:2.0.0
COPY app.jar .
ENV JAVA_OPTS ""
EXPOSE 8080
CMD java -jar ${JAVA_OPTS} app.jar
\ No newline at end of file
FROM hub.77s.vip/tomcat:8.15.2
RUN rm -rf /usr/local/tomcat/webapps/*
COPY ROOT.war /usr/local/tomcat/webapps/
\ No newline at end of file
FROM docker.77s.vip/nginx:2.0.0
COPY ./build/ /usr/share/nginx/html
\ No newline at end of file
FROM docker.77s.vip/nginx:2.0.0
COPY ./dist/ /usr/share/nginx/html
\ No newline at end of file
FROM docker.77s.vip/tomcat:2.0.0
RUN rm -rf /usr/local/tomcat/webapps/*
COPY ROOT.war /usr/local/tomcat/webapps/
\ No newline at end of file
FROM docker.77s.vip/tomcat:2.0.2
RUN rm -rf /usr/local/tomcat/webapps/*
COPY ROOT.war /usr/local/tomcat/webapps/
RUN chown -R tomcat:tomcat /usr/local/java \
&& chown -R tomcat:tomcat /usr/local/tomcat
USER tomcat
\ No newline at end of file