Skip to content

Commit

Permalink
feat(examples): update docker file to install libc6-compact (#2228)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>
  • Loading branch information
adarshaacharya and tknickman committed Oct 13, 2022
1 parent e4ef973 commit 599f483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/with-docker/apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Make sure you update both files!

FROM node:alpine AS builder
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
RUN apk update
# Set working directory
WORKDIR /app
Expand Down
2 changes: 2 additions & 0 deletions examples/with-docker/apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Make sure you update both files!

FROM node:alpine AS builder
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
RUN apk update
# Set working directory
WORKDIR /app
Expand Down

0 comments on commit 599f483

Please sign in to comment.