Skip to content

Commit

Permalink
upd all build steps with ssl flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Nov 25, 2024
1 parent afd5b74 commit eebd7c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ COPY src ./
ARG GITHUB_API_TOKEN
ENV COOKIE_SECRET=change_me

RUN npm run build --openssl-legacy-provider
RUN npm run build

# Create the /.npm directory and grant access to group 0 to allow npm v9 to work
# See: https://docs.openshift.com/container-platform/4.11/openshift_images/create-images.html#use-uid_create-images
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"mock-server": "nodemon ./test/mock-server/server.js",
"ks-build": "cross-env NODE_ENV=production keystone build --entry=dist/server.js --out=dist2",
"start": "cross-env NODE_ENV=production keystone start --entry=dist/server.js",
"build": "NODE_OPTIONS='--dns-result-order=ipv4first' npm-run-all delete-assets copy-assets tsoa-build-v1 tsoa-build-v2 tsoa-build-v3 ts-build ks-build copy-keystone-admin-assets",
"build": "NODE_OPTIONS='--dns-result-order=ipv4first --openssl-legacy-provider' npm-run-all delete-assets copy-assets tsoa-build-v1 tsoa-build-v2 tsoa-build-v3 ts-build ks-build copy-keystone-admin-assets",
"create-tables": "cross-env CREATE_TABLES=true keystone create-tables --entry=dist/server.js",
"lint": "eslint ./nextapp --ext .ts,.tsx --quiet",
"lint:ts": "tsc -p ./nextapp/tsconfig.json --noEmit",
Expand Down

0 comments on commit eebd7c1

Please sign in to comment.