新增NAS一键打包部署脚本及Docker部署方案
This commit is contained in:
8
docker/frontend/Dockerfile
Normal file
8
docker/frontend/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM nginx:stable-alpine
|
||||
|
||||
COPY docker/frontend/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY frontend/dist/ /usr/share/nginx/html/
|
||||
|
||||
RUN chmod -R a+rX /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user