Skip to content

Commit

Permalink
install openssl during build process to fix deploy (prisma/prisma#140…
Browse files Browse the repository at this point in the history
  • Loading branch information
oohwooh committed Jun 7, 2023
1 parent 7f4b4c4 commit 0ffd104
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ RUN mkdir /app
COPY yarn.lock /app
COPY package.json /app
WORKDIR /app
RUN apk add --update --no-cache openssl1.1-compat
RUN yarn install
COPY . /app
RUN yarn run build
Expand All @@ -14,6 +15,7 @@ FROM node:16-alpine
ENV NODE_ENV=production
COPY --from=0 /app /app
WORKDIR /app
RUN apk add --update --no-cache openssl1.1-compat
RUN yarn install
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
CMD /docker-entrypoint.sh

0 comments on commit 0ffd104

Please sign in to comment.