更新 Dockerfile
This commit is contained in:
@ -46,8 +46,6 @@ COPY --from=server_deps /app/server/node_modules /app/server/node_modules
|
|||||||
|
|
||||||
# 拷贝前端静态资源
|
# 拷贝前端静态资源
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
COPY --from=build /app/public /usr/share/nginx/html/public
|
|
||||||
COPY --from=build /app/index.html /usr/share/nginx/html/
|
|
||||||
|
|
||||||
# 拷贝 Nginx 配置和启动脚本
|
# 拷贝 Nginx 配置和启动脚本
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user