ADD Dockerfile

This commit is contained in:
Andy
2021-06-27 01:20:34 +08:00
parent dd3d46eec7
commit 2c8e24d0a2
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