update
This commit is contained in:
parent
ae2218eeb9
commit
d4454b818e
@ -40,7 +40,7 @@ RUN mkdir -p /var/cache/nginx/client_temp \
|
|||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
# 从构建阶段复制构建结果
|
# 从构建阶段复制构建结果
|
||||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
# 修改目录权限
|
# 修改目录权限
|
||||||
RUN chown -R nginx:nginx /usr/share/nginx/html \
|
RUN chown -R nginx:nginx /usr/share/nginx/html \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user