Split nginx config; added start of gateway routing
This commit is contained in:
parent
1d14f39642
commit
7e09e6879c
5 changed files with 39 additions and 17 deletions
|
|
@ -17,8 +17,9 @@ RUN yarn run build
|
|||
FROM nginx:1.21.4-alpine
|
||||
|
||||
# Copy over the Nginx config files
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY default.conf.template /etc/nginx/templates/default.conf.template
|
||||
COPY nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY nginx/*.conf.template /etc/nginx/templates/
|
||||
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Copy over build artifacts
|
||||
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html
|
||||
|
|
|
|||
Reference in a new issue