Fixed dockerfile.nginx for staging
This commit is contained in:
parent
5a7bc51ff4
commit
c2ca91012e
2
.env
2
.env
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user