Skip to content

Commit

Permalink
fix(docker): add openssl legacy provider
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Aug 12, 2022
1 parent f35c91b commit d0a63b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# Should be the specific version of node:alpine.
FROM node:18.3.0-alpine3.14@sha256:a648bbe9a0af3991ef1bf02208b2e9b04b4bad49790efc5740a43d13cd1482b5 AS development

ENV NODE_OPTIONS=--openssl-legacy-provider

WORKDIR /srv/app/

COPY ./package.json ./pnpm-lock.yaml ./
Expand All @@ -26,6 +28,7 @@ FROM node:18.3.0-alpine3.14@sha256:a648bbe9a0af3991ef1bf02208b2e9b04b4bad49790ef
ARG NUXT_ENV_STACK_DOMAIN=jonas-thelemann.de
ENV NUXT_ENV_STACK_DOMAIN=${NUXT_ENV_STACK_DOMAIN}
ENV NODE_ENV=production
ENV NODE_OPTIONS=--openssl-legacy-provider

WORKDIR /srv/app/

Expand Down

0 comments on commit d0a63b3

Please sign in to comment.