SJAD
This commit is contained in:
parent
300ba0c686
commit
33631f6578
2 changed files with 6 additions and 1 deletions
|
|
@ -2,8 +2,10 @@ services:
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
|
args:
|
||||||
|
NEXT_PUBLIC_BACKEND_URL: ${NEXT_PUBLIC_BACKEND_URL:-https://backend.basetracker.lona-development.org}
|
||||||
environment:
|
environment:
|
||||||
NEXT_PUBLIC_BACKEND_URL: https://backend.basetracker.lona-development.org
|
NEXT_PUBLIC_BACKEND_URL: ${NEXT_PUBLIC_BACKEND_URL:-https://backend.basetracker.lona-development.org}
|
||||||
ports:
|
ports:
|
||||||
- "3100:3000"
|
- "3100:3000"
|
||||||
expose:
|
expose:
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,9 @@ FROM node:20-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
ARG NEXT_PUBLIC_BACKEND_URL="http://localhost:4100"
|
||||||
|
ENV NEXT_PUBLIC_BACKEND_URL=${NEXT_PUBLIC_BACKEND_URL}
|
||||||
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY tsconfig.json ./
|
COPY tsconfig.json ./
|
||||||
COPY next.config.js ./
|
COPY next.config.js ./
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue