ADD Dockerfile

This commit is contained in:
Andy
2021-06-27 01:20:34 +08:00
parent c61167e21f
commit dfe6223cf7
4 changed files with 42 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM nginx:1.21.0
LABEL MAINTAINER=Andy
RUN rm -rf /usr/share/nginx/html/*
COPY src/main/resources/static/* /usr/share/nginx/html/
# docker run --name zlt-web \
# -v /host/path/apiUrl.js:/usr/share/nginx/html/module/apiUrl.js:ro
# -d zlt-web:4.5