mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-05 07:03:01 +08:00
6 lines
238 B
Docker
6 lines
238 B
Docker
|
|
FROM nginx
|
|
# 将dist文件中的内容复制到 /usr/share/nginx/html/ 这个目录下面
|
|
COPY dist/ /usr/share/nginx/html/dist/
|
|
# 用本地的 nginx.conf 配置来替换nginx镜像里的默认配置
|
|
COPY nginx.conf /etc/nginx/nginx.conf |