File tree Expand file tree Collapse file tree 3 files changed +5
-20
lines changed Expand file tree Collapse file tree 3 files changed +5
-20
lines changed Original file line number Diff line number Diff line change 11
11
12
12
strategy :
13
13
matrix :
14
- node : ['16 ']
14
+ node : ['18 ']
15
15
mongodb : ['5.0']
16
16
17
17
steps :
@@ -149,7 +149,7 @@ jobs:
149
149
150
150
strategy :
151
151
matrix :
152
- node : ['16 ']
152
+ node : ['18 ']
153
153
mongodb : ['5.0']
154
154
155
155
steps :
Original file line number Diff line number Diff line change 1
- FROM node:16. 18.1 -alpine3.15@sha256:ecf74556cdeee48382e555a377ddb12d36161bd33349dc79290f733f763df711
1
+ FROM node:18.14.0 -alpine3.17
2
2
ARG appPort=3000
3
- # ARG microScannerToken
4
3
5
4
LABEL maintainer=
"Damien Laureaux <[email protected] >" \
6
5
org.label-schema.vendor="Timoa" \
20
19
mkdir -p /opt/app && \
21
20
adduser -S app-user
22
21
23
- # Aquasec MicroScanner support
24
- # Search vulnerabilities under the source container
25
- # Get an API token (free): https://microscanner.aquasec.com/signup
26
- # Project: https://github.com/aquasecurity/microscanner
27
-
28
- # ADD https://get.aquasec.com/microscanner /
29
- # RUN chmod +x /microscanner && \
30
- # /microscanner ${microScannerToken} && \
31
- # echo "No vulnerabilities! " && \
32
- # date
33
-
34
22
WORKDIR /opt/app/
35
23
COPY ./package.json ./
36
24
COPY ./src ./src
Original file line number Diff line number Diff line change 12
12
"test:coverage" : " ./node_modules/.bin/nyc npm test" ,
13
13
"test:functional" : " ./node_modules/.bin/mocha --reporter spec ./test/functional" ,
14
14
"test:all" : " ./node_modules/.bin/run-s test:functional test:coverage" ,
15
- "docker:status" : " node src/healthcheck" ,
16
- "snyk-protect" : " snyk-protect" ,
17
- "prepare" : " npm run snyk-protect"
15
+ "docker:status" : " node src/healthcheck"
18
16
},
19
17
"repository" : {
20
18
"type" : " git" ,
39
37
"dependencies" : {
40
38
"@fastify/helmet" : " 8.1.0" ,
41
39
"@hapi/boom" : " 9.1.4" ,
42
- "@snyk/protect" : " 1.1081.0" ,
43
40
"fastify" : " 3.29.4" ,
44
41
"fastify-healthcheck" : " 3.2.0" ,
45
42
"@fastify/swagger" : " 6.1.1" ,
49
46
"winston" : " 3.8.2"
50
47
},
51
48
"engines" : {
52
- "node" : " >=16 .0" ,
49
+ "node" : " >=18 .0" ,
53
50
"npm" : " >=8.6.0"
54
51
},
55
52
"os" : [
You can’t perform that action at this time.
0 commit comments