调整打包部署
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/templates/default.conf.template
|
||||
|
||||
# 默认后端 API 地址(运行时可通过 -e BACKEND_URL=... 覆盖)
|
||||
ENV BACKEND_URL=http://host.docker.internal:8000
|
||||
ENV BACKEND_URL=http://10.100.154.100:8000
|
||||
|
||||
EXPOSE 8901
|
||||
|
||||
|
||||
Reference in New Issue
Block a user