oh my fucking god
This commit is contained in:
@@ -11,4 +11,5 @@ NEXT_LOG_LEVEL=error
|
||||
GENERATE_SOURCEMAP=false
|
||||
|
||||
# API configuration
|
||||
NEXT_PUBLIC_API_URL=/api
|
||||
SERVER_API_URL=https://internal-api.inboxi.ng/api
|
||||
|
||||
@@ -7,7 +7,7 @@ RUN npm install --force
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV NEXT_PUBLIC_API_URL=https://internal-api.inboxi.ng/api
|
||||
ENV NEXT_PUBLIC_API_URL=/api
|
||||
|
||||
# Build the Next.js application
|
||||
RUN npm run build
|
||||
@@ -28,7 +28,7 @@ COPY --from=builder /app/node_modules ./node_modules
|
||||
EXPOSE 3000
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV NEXT_PUBLIC_API_URL=https://internal-api.inboxi.ng/api
|
||||
ENV NEXT_PUBLIC_API_URL=/api
|
||||
|
||||
|
||||
# Start Next.js server
|
||||
|
||||
Reference in New Issue
Block a user