mirror of
https://github.com/Grace-Solutions/Depl0y-Custom.git
synced 2026-09-04 06:15:39 +00:00
feat(docker/frontend): make backend URL configurable via env
This commit is contained in:
@@ -8,7 +8,8 @@ ENV APP_VERSION=${APP_VERSION}
|
||||
COPY src/frontend/dist /usr/share/nginx/html
|
||||
|
||||
# Custom nginx config for SPA routing (serve index.html for unknown routes)
|
||||
COPY deployment/docker/frontend/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
# Use nginx's built-in template support to env-substitute BACKEND_BASEURL
|
||||
COPY deployment/docker/frontend/nginx.conf /etc/nginx/templates/default.conf.template
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user