Skip to content

Commit

Permalink
chore: #55 Set legacy SSL provider to run on recent Node version
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Broudoux <[email protected]>
  • Loading branch information
lbroudoux committed Oct 21, 2024
1 parent 1b30eeb commit 7ae1dcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN microdnf install ca-certificates git -y \
# frontend
COPY frontend/ ${APP_ROOT}/frontend
RUN cd ${APP_ROOT}/frontend; npm install \
&& export NODE_OPTIONS=--openssl-legacy-provider \
&& npm run-script build-prod \
&& rm -rdf ${APP_ROOT}/frontend/node_modules ${APP_ROOT}/frontend/.cache-loader /opt/app-root/src/.npm /tmp/v8-compile-cache-0

Expand Down

0 comments on commit 7ae1dcf

Please sign in to comment.