We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b1d4812 + 9389e7d commit 1740881Copy full SHA for 1740881
Dockerfile
@@ -6,14 +6,15 @@ ARG NPM_REGISTRY=upstream
6
ARG NODE_ENV=development
7
8
# Node stage.
9
-FROM node:16-slim as build
+FROM node:18-slim as build
10
ARG USER_ID
11
ARG USER_NAME
12
ARG SOURCE_DIR
13
ARG NPM_REGISTRY
14
ARG NODE_ENV
15
16
ENV NODE_ENV=$NODE_ENV
17
+ENV NODE_OPTIONS=--openssl-legacy-provider
18
19
# Create the user and group (use a high ID to attempt to avoid conflicts).
20
RUN groupadd --non-unique -g $USER_ID $USER_NAME && \
0 commit comments