Skip to content

Commit 391c9a9

Browse files
committed
go from alpine to debian for dns issue workaround
1 parent 6f129a0 commit 391c9a9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
FROM node:18-alpine AS deps
2-
RUN apk add --no-cache libc6-compat
1+
FROM node:18-bullseye AS deps
32
WORKDIR /app
43

54
COPY package.json yarn.lock ./
65
RUN yarn install
76

8-
FROM node:18-alpine AS builder
7+
FROM node:18-bullseye AS builder
98
WORKDIR /app
109
COPY --from=deps /app/node_modules ./node_modules
1110
COPY . .
@@ -15,7 +14,7 @@ ENV NEXT_PUBLIC_ENV production
1514

1615
RUN yarn build
1716

18-
FROM node:18-alpine AS runner
17+
FROM node:18-bullseye AS runner
1918
WORKDIR /app
2019

2120
ENV NODE_ENV production

0 commit comments

Comments
 (0)