增加引用nginx-dev的配置
parent
6bb30db34c
commit
c76ed44a91
@ -1,10 +1,12 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
ARG NGINX_CONF=nginx.conf
|
||||
|
||||
RUN rm -f /etc/nginx/conf.d/default.conf
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY ${NGINX_CONF} /etc/nginx/conf.d/default.conf
|
||||
|
||||
COPY dist/build/h5 /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Loading…
Reference in New Issue