-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1194 from jembi/TB-84-update-packages
TB - 84 Fix vulnerable packages/dependencies
- Loading branch information
Showing
25 changed files
with
2,346 additions
and
1,071 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 |
---|---|---|
@@ -1,5 +1,19 @@ | ||
.github | ||
.travis | ||
.nyc_output | ||
.vscode | ||
.git | ||
.gitignore | ||
node_modules | ||
lib/* | ||
performance | ||
packaging | ||
infrastructure | ||
test | ||
.env.test | ||
.eslintrc.json | ||
.eslintignore | ||
.npmignore | ||
.nycrc.json | ||
.prettierrc.yaml | ||
.travis.yml |
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,7 +1,7 @@ | ||
language: node_js | ||
node_js: | ||
- "lts/erbium" | ||
- "lts/fermium" | ||
- "lts/gallium" | ||
- "node" | ||
matrix: | ||
fast_finish: true | ||
|
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,15 +1,25 @@ | ||
FROM node:14.17-alpine | ||
FROM node:14.21.3-alpine as build | ||
|
||
WORKDIR /build | ||
|
||
COPY . . | ||
|
||
RUN npm install && npm run build | ||
|
||
FROM node:14.21.3-alpine | ||
|
||
ENV NODE_ENV=production | ||
|
||
RUN apk upgrade --update-cache --available && \ | ||
apk add openssl && \ | ||
rm -rf /var/cache/apk/* | ||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
COPY --from=build ./build/lib ./lib | ||
|
||
RUN npm install | ||
COPY . . | ||
|
||
RUN npm run build | ||
RUN npm install --production | ||
|
||
CMD ["node", "lib/server.js"] |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"logger": { | ||
"level": "warn", | ||
"logToDB": true, | ||
"capDBLogs": false | ||
} | ||
} |
Oops, something went wrong.