提交 7f5e229c 作者: 余乾开

Update Dockerfile

上级 12e22902
...@@ -12,7 +12,7 @@ RUN npm run build ...@@ -12,7 +12,7 @@ RUN npm run build
FROM nginx:alpine as production FROM nginx:alpine as production
ENV NODE_ENV production ENV NODE_ENV production
# Set working directory to nginx asset directory # Set working directory to nginx asset directory
COPY --from=builder /app/build /usr/share/nginx/html COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80 EXPOSE 80
# Containers run nginx with global directives and daemon off # Containers run nginx with global directives and daemon off
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论