Merge pull request 'jskim-node' (#21) from jskim-node into main
Reviewed-on: https://g.wace.me/jskim/vexplor_dev/pulls/21
This commit is contained in:
@@ -42,6 +42,7 @@ services:
|
|||||||
dockerfile: ../docker/deploy/frontend.Dockerfile
|
dockerfile: ../docker/deploy/frontend.Dockerfile
|
||||||
args:
|
args:
|
||||||
- NEXT_PUBLIC_API_URL=https://api.vexplor.com/api
|
- NEXT_PUBLIC_API_URL=https://api.vexplor.com/api
|
||||||
|
- SERVER_API_URL=http://backend:3001
|
||||||
container_name: pms-frontend-prod
|
container_name: pms-frontend-prod
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -23,6 +23,10 @@ ENV NEXT_TELEMETRY_DISABLED 1
|
|||||||
ARG NEXT_PUBLIC_API_URL=https://api.vexplor.com/api
|
ARG NEXT_PUBLIC_API_URL=https://api.vexplor.com/api
|
||||||
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
|
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
|
||||||
|
|
||||||
|
# Next.js rewrites 프록시용 (빌드 시 routes-manifest.json에 포함됨)
|
||||||
|
ARG SERVER_API_URL=http://backend:3001
|
||||||
|
ENV SERVER_API_URL=$SERVER_API_URL
|
||||||
|
|
||||||
# Build the application
|
# Build the application
|
||||||
ENV DISABLE_ESLINT_PLUGIN=true
|
ENV DISABLE_ESLINT_PLUGIN=true
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user