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 3832bcc commit c9a730aCopy full SHA for c9a730a
Dockerfile
@@ -1,19 +1,19 @@
1
-FROM node:18.0.0-alpine as builder
+FROM node:18-alpine as builder
2
WORKDIR /app
3
4
COPY package.json package-lock.json .npmrc ./
5
# overrides field on package.json is not allowd npm ci command...
6
RUN npm i && npm update
7
8
-FROM node:18.0.0-alpine
+FROM node:18-alpine
9
10
ENV PATH /app/node_modules/.bin:$PATH
11
12
COPY . .
13
COPY --from=builder /app/node_modules ./node_modules
14
15
-ENV NEXT_TELEMETRY_DISABLED 1
16
-ENV NODE_ENV production
+ENV NEXT_TELEMETRY_DISABLED=1
+ENV NODE_ENV=production
17
18
RUN npm run build
19
0 commit comments