File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ services:
33 image : lucky7-front:latest
44 build :
55 context : ../lucky7-app/frontend
6+ dockerfile : Dockerfile
67 args :
78 NEXT_BASE_PATH : /Lucky7
89 NEXT_PUBLIC_BACKEND_URL : http://78.138.58.95/Lucky7-api
@@ -16,6 +17,7 @@ services:
1617 image : lucky7-back:latest
1718 build :
1819 context : ../lucky7-app/backend
20+ dockerfile : Dockerfile
1921 restart : unless-stopped
2022 ports :
2123 - " 127.0.0.1:4001:4000"
Original file line number Diff line number Diff line change @@ -4,9 +4,8 @@ FROM node:20-alpine AS builder
44WORKDIR /usr/src/app
55
66ARG NEXT_BASE_PATH="/Lucky7"
7+ ARG NEXT_PUBLIC_BACKEND_URL="http://78.138.58.95/Lucky7-api"
78ENV NEXT_BASE_PATH=$NEXT_BASE_PATH
8-
9- ARG NEXT_PUBLIC_BACKEND_URL="http://localhost:4000"
109ENV NEXT_PUBLIC_BACKEND_URL=$NEXT_PUBLIC_BACKEND_URL
1110
1211COPY package*.json ./
You can’t perform that action at this time.
0 commit comments