Commit 3354ef0c authored by alex yao's avatar alex yao

docker file

parent cc5f3d2a
FROM tomcat:9-jdk8-openjdk
FROM tomcat:9-jre8-alpine
RUN echo "Asia/Shanghai" > /etc/timezone
......@@ -8,4 +8,4 @@ EXPOSE 40083
EXPOSE 40088
ARG targetFile
ADD $targetFile /usr/local/tomcat/webapps/api.war
\ No newline at end of file
COPY $targetFile /usr/local/tomcat/webapps/api.war
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment