File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ RUN npm run build
2222
2323FROM base AS runner
2424ENV NODE_ENV=production
25+ EXPOSE 3000
26+
27+ ARG NEXT_PUBLIC_API_URL
28+ ARG NEXT_PUBLIC_WEBSOCKET_URL
29+
30+ ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
31+ ENV NEXT_PUBLIC_WEBSOCKET_URL=$NEXT_PUBLIC_WEBSOCKET_URL
2532
2633COPY --from=builder --chown=nextjs:nodejs /app/apps/web/.next/standalone ./
2734COPY --from=builder --chown=nextjs:nodejs /app/apps/web/.next/static ./apps/web/.next/static
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ services:
3232 NODE_ENV : production
3333 NEXT_PUBLIC_API_URL : " https://api.radar.skruellex.com"
3434 NEXT_PUBLIC_WEBSOCKET_URL : " wss://ws.radar.skruellex.com"
35+ args :
36+ NEXT_PUBLIC_API_URL : " https://api.radar.skruellex.com"
37+ NEXT_PUBLIC_WEBSOCKET_URL : " wss://ws.radar.skruellex.com"
3538 networks :
3639 - traefik_proxy
3740 - backend
You can’t perform that action at this time.
0 commit comments