更改
This commit is contained in:
parent
4d793e1537
commit
80ddc8999d
@ -6,6 +6,6 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|||||||
# 将第一阶段的静态文件复制到nginx中
|
# 将第一阶段的静态文件复制到nginx中
|
||||||
RUN rm -rf /usr/share/nginx/html
|
RUN rm -rf /usr/share/nginx/html
|
||||||
RUN mkdir /usr/share/nginx/html
|
RUN mkdir /usr/share/nginx/html
|
||||||
COPY ./dist /usr/share/nginx/html
|
COPY ./dist/usr/share/nginx/html
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
Loading…
Reference in New Issue
Block a user