You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
6
+
RUN apk add --no-cache libc6-compat
7
+
WORKDIR /app
8
+
COPY package.json yarn.lock ./
9
+
RUN yarn install --frozen-lockfile
10
+
11
+
# Rebuild the source code only when needed
12
+
FROM node:14-alpine AS builder
13
+
ARG NOTION_PAGE_ID
14
+
WORKDIR /app
15
+
COPY . .
16
+
COPY --from=deps /app/node_modules ./node_modules
17
+
RUN yarn build
18
+
19
+
ENV NODE_ENV production
20
+
21
+
EXPOSE 3000
22
+
23
+
# Next.js collects completely anonymous telemetry data about general usage.
24
+
# Learn more here: https://nextjs.org/telemetry
25
+
# Uncomment the following line in case you want to disable telemetry.
0 commit comments