Skip to content

Commit

Permalink
install openssl with apt
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Nov 1, 2024
1 parent d3fcef4 commit 95dc07a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ FROM node:$DOCKER_NODE_VERSION AS build

WORKDIR /app

# https://github.com/prisma/prisma/issues/16553
RUN apk add openssl1.1-compat
# Install OpenSSL - necessary for Prisma client
# Mount caches via https://stackoverflow.com/a/72851168
RUN --mount=type=cache,id=apt-lists,target=/var/lib/apt/lists,sharing=locked \
--mount=type=cache,id=apt-cache,target=/var/cache/apt,sharing=locked \
rm -f /etc/apt/apt.conf.d/docker-clean \
&& apt-get update \
&& apt-get install -y openssl

# Install pnpm globally
RUN npm install -g pnpm
Expand Down

0 comments on commit 95dc07a

Please sign in to comment.