Skip to content

Commit 1740881

Browse files
authored
Merge pull request #472 from TAMULib/node-updates
Update node image version and env flag to resolve build issues
2 parents b1d4812 + 9389e7d commit 1740881

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ ARG NPM_REGISTRY=upstream
66
ARG NODE_ENV=development
77

88
# Node stage.
9-
FROM node:16-slim as build
9+
FROM node:18-slim as build
1010
ARG USER_ID
1111
ARG USER_NAME
1212
ARG SOURCE_DIR
1313
ARG NPM_REGISTRY
1414
ARG NODE_ENV
1515

1616
ENV NODE_ENV=$NODE_ENV
17+
ENV NODE_OPTIONS=--openssl-legacy-provider
1718

1819
# Create the user and group (use a high ID to attempt to avoid conflicts).
1920
RUN groupadd --non-unique -g $USER_ID $USER_NAME && \

0 commit comments

Comments
 (0)