Skip to content

Commit 8db9cf0

Browse files
committed
feat(project): update Node to 16.x
1 parent 256c69d commit 8db9cf0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
ARG nodeVersion=12.16.1
2-
FROM node:${nodeVersion}-alpine
1+
FROM node:16.14.2-alpine3.15@sha256:28bed508446db2ee028d08e76fb47b935defa26a84986ca050d2596ea67fd506
32
ARG appPort=3000
43
# ARG microScannerToken
54

@@ -33,7 +32,8 @@ RUN \
3332
# date
3433

3534
WORKDIR /opt/app/
36-
COPY ./ /opt/app/
35+
COPY ./package.json ./
36+
COPY ./src ./src
3737

3838
HEALTHCHECK --interval=15s --timeout=5s --start-period=30s \
3939
CMD npm run docker:status

0 commit comments

Comments
 (0)