Skip to content

Commit 77a557a

Browse files
authored
chore: update dockerfile args (#3069)
1 parent 7204eff commit 77a557a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM node:22.14@sha256:bac8ff0b5302b06924a5e288fb4ceecef9c8bb0bb92515985d2efdc3a
22
WORKDIR /app
33

44
# Install dependencies based on the preferred package manager
5-
COPY package.json package-lock.json* ./
5+
COPY package.json package-lock.json* .npmrc ./
66
RUN npm ci
77

88
# Rebuild the source code only when needed
@@ -31,6 +31,8 @@ RUN cp .next/routes-manifest.json .next/routes-manifest.orig.json
3131
# Production image, copy all the files and run next
3232
FROM node:22.14@sha256:bac8ff0b5302b06924a5e288fb4ceecef9c8bb0bb92515985d2efdc3a2447052 AS runner
3333
WORKDIR /app
34+
ARG APP_DEPLOYMENT=INCIDENT_MANAGER
35+
ARG ORY_KRATOS_URL
3436

3537
ENV NEXT_PUBLIC_APP_DEPLOYMENT=${APP_DEPLOYMENT}
3638
ENV ORY_KRATOS_URL=${ORY_KRATOS_URL}

0 commit comments

Comments
 (0)