fix: remove hardcoded localhost api url to fix cors on production
This commit is contained in:
parent
94f046f0d6
commit
d50c2721d2
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ COPY frontend/package*.json ./
|
||||||
RUN npm install --legacy-peer-deps
|
RUN npm install --legacy-peer-deps
|
||||||
COPY frontend/ ./
|
COPY frontend/ ./
|
||||||
# Build with standalone output
|
# Build with standalone output
|
||||||
ENV NEXT_PUBLIC_API_URL="http://localhost:8000"
|
ENV NEXT_PUBLIC_API_URL=""
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# --- Stage 2: Final Runtime Image ---
|
# --- Stage 2: Final Runtime Image ---
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue