修复部署问题

This commit is contained in:
qaq
2025-06-13 09:25:32 +08:00
parent 344262cc34
commit 2fa15fe4c3
6 changed files with 32 additions and 19 deletions
+1 -4
View File
@@ -7,12 +7,9 @@ RUN apk add --no-cache gettext
# 复制nginx配置模板
COPY nginx.conf.template /etc/nginx/nginx.conf.template
# 复制预打包的dist文件夹
# 复制预打包的dist文件夹(包含config.js)
COPY dist /usr/share/nginx/html
# 复制配置模板文件
COPY config.template.js /usr/share/nginx/html/config.template.js
# 创建运行时配置脚本
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh