Skip to content

Commit

Permalink
fixing the docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
jurabek committed Feb 6, 2024
1 parent ecd861c commit 28e52ba
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions k8s-kustomize/services/web-app/base/.secret.env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
NEXTAUTH_SECRET=948368824784ca1e83e260d55a04b734351b3e49336f639774f87f6846493a2b
AUTH_CLIENT_SECRET=secret
1 change: 0 additions & 1 deletion k8s-kustomize/services/web-app/base/config.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ API_BASE_URL=http://localost:80
NEXTAUTH_URL=http://localhost:80
AUTH_ISSUER=http://localhost:80/identity
AUTH_CLIENT_ID=nextjs-web-app
AUTH_CLIENT_SECRET=secret
OTEL_EXPORTER_OTLP_ENDPOINT=otel-collector.monitoring:4317
1 change: 1 addition & 0 deletions src/backend/services/web-app/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXTAUTH_URL=http://localhost:3001
2 changes: 1 addition & 1 deletion src/backend/services/web-app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .

COPY .env.local .env.production
COPY .env .env.production
RUN yarn build

# 3. Production image, copy all the files and run next
Expand Down

0 comments on commit 28e52ba

Please sign in to comment.