fix: Fixed api url on web
This commit is contained in:
+3
-4
@@ -30,10 +30,9 @@ WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
# Control-plane URL the Next server proxies /api, /auth and /install to. Runtime,
|
||||
# not build time: next.config.js is evaluated when server.js boots in standalone
|
||||
# mode, so this is overridable per deployment without a rebuild.
|
||||
ENV API_URL=http://localhost:8080
|
||||
# No control-plane address here on purpose: this app proxies nothing. /api,
|
||||
# /auth, /install, /update and /public are routed to the server by the reverse
|
||||
# proxy in front of both.
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs && \
|
||||
adduser --system --uid 1001 nextjs
|
||||
|
||||
Reference in New Issue
Block a user