We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d07ba2e commit e2409cfCopy full SHA for e2409cf
Dockerfile
@@ -10,8 +10,7 @@ RUN addgroup -g 1001 -S nodejs && \
10
apk add --no-cache libc6-compat
11
12
WORKDIR /app
13
-COPY package.json ./
14
-COPY pnpm-lock.yaml ./
+COPY . .
15
16
# Replace the application version (in package.json)
17
# with any defined 'tag', otherwise leave it at 0.0.0.
@@ -23,8 +22,6 @@ RUN sed -i s/'"0.0.0"'/'"'${TAG:-0.0.0}'"'/ package.json && \
23
22
npm i -g [email protected] && \
24
pnpm i
25
26
-COPY . .
27
-
28
RUN chown --recursive nextjs:nodejs .
29
30
# **DO NOT** set 'NODE_ENV any earlier than this in the Dockerfile.
0 commit comments