feat: API_BASE configurable par build arg + DB dev
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6c00ee2251
commit
f88ec44af0
2 changed files with 4 additions and 0 deletions
|
|
@ -1,2 +1,4 @@
|
|||
FROM nginx:alpine
|
||||
ARG API_BASE=https://bm.nicolasfryder.ovh
|
||||
COPY site/ /usr/share/nginx/html
|
||||
RUN sed -i "s|https://bm.nicolasfryder.ovh|${API_BASE}|g" /usr/share/nginx/html/app.js
|
||||
|
|
|
|||
|
|
@ -68,6 +68,8 @@ services:
|
|||
web:
|
||||
build:
|
||||
context: apps/web
|
||||
args:
|
||||
API_BASE: https://dev-api.bm.nicolasfryder.ovh
|
||||
networks:
|
||||
- coolify
|
||||
labels:
|
||||
|
|
|
|||
Loading…
Reference in a new issue