提交 4d2ef61c 作者: 余乾开

Update Dockerfile

上级 4a5f0bd7
......@@ -12,7 +12,7 @@ RUN npm run build
FROM nginx:alpine as production
ENV NODE_ENV production
# 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
EXPOSE 80
# Containers run nginx with global directives and daemon off
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论