Fixed dockerfile.nginx for staging
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Josh 2025-08-01 11:35:55 +00:00
parent 7ceaa78bb8
commit 35a53a3e1f
2 changed files with 9 additions and 2 deletions

2
.env
View File

@ -2,4 +2,4 @@ CORS_ALLOWED_ORIGINS=https://dev1.aptivaai.com,http://34.16.120.118:3000,http://
SERVER1_PORT=5000
SERVER2_PORT=5001
SERVER3_PORT=5002
IMG_TAG=202508011118
IMG_TAG=202508011133

View File

@ -1,3 +1,10 @@
FROM nginx:1.25-alpine
# Remove default config if needed
RUN rm /etc/nginx/conf.d/default.conf
# Copy custom config (optional)
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copy React build output
COPY build/ /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf