feat(docker/frontend): make backend URL configurable via env

This commit is contained in:
Alphaeus Mote
2025-11-19 09:34:34 -05:00
parent f7c349d4a8
commit 96fcd793f1
4 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -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