fix: nginx config
/ build ushare (push) Successful in 37s
/ clean (push) Successful in 0s

This commit is contained in:
loveuer committed 2025-06-24 22:24:22 +08:00
1 parent f8372b8de8
commit ca434c918b
2 files changed
+46 -20

No files matched your search

+1 -2
View File
@@ -25,8 +25,7 @@ COPY --from=frontend-builder /app/frontend/dist /usr/share/nginx/html
COPY --from=backend-builder /app/ushare /usr/local/bin/ushare
# 配置 Nginx
RUN rm /etc/nginx/conf.d/default.conf
COPY deployment/nginx.conf /etc/nginx/conf.d
COPY deployment/nginx.conf /etc/nginx/nginx.conf
COPY deployment/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh