generated from wednesday-solutions/nodejs-hapi-template
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/wednesday-solutions/node…
…-express-graphql-template into feat/keploy-experimental
- Loading branch information
Showing
51 changed files
with
5,724 additions
and
5,545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
node-version: [20.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup environment | ||
|
@@ -101,7 +101,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
node-version: [20.x] | ||
steps: | ||
- uses: wednesday-solutions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
FROM node:18 | ||
FROM node:20 | ||
ARG ENVIRONMENT_NAME | ||
ARG BUILD_NAME | ||
ARG APP_PATH | ||
ARG PLATFORM | ||
ENV NODE_OPTIONS=--openssl-legacy-provider | ||
|
||
# RUN mkdir -p /app-build | ||
# ADD . /app-build | ||
|
@@ -16,18 +15,18 @@ RUN yarn | |
RUN yarn build:$BUILD_NAME | ||
|
||
|
||
FROM node:18-alpine | ||
FROM node:20-alpine | ||
ARG ENVIRONMENT_NAME | ||
ARG BUILD_NAME | ||
ARG APP_PATH | ||
ARG PLATFORM | ||
ENV NODE_OPTIONS=--openssl-legacy-provider | ||
|
||
WORKDIR ${APP_PATH} | ||
RUN mkdir -p ${APP_PATH}/dist | ||
RUN apk add yarn | ||
|
||
RUN yarn global add [email protected] [email protected] | ||
RUN yarn add shelljs bull dotenv pg [email protected] | ||
RUN yarn add shelljs dotenv pg [email protected] | ||
RUN apk add --no-cache dumb-init | ||
ADD scripts/migrate-and-run.sh ${APP_PATH}/ | ||
ADD package.json ${APP_PATH}/ | ||
|
Oops, something went wrong.