diff options
Diffstat (limited to 'code/app')
| -rw-r--r-- | code/app/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/app/Dockerfile b/code/app/Dockerfile index 6776dee..1cc5284 100644 --- a/code/app/Dockerfile +++ b/code/app/Dockerfile @@ -1,10 +1,10 @@ -FROM node:current-alpine3.15 AS builder +FROM node:18.12.1-alpine3.16 AS builder WORKDIR . COPY package.json . RUN npm i COPY . . RUN npm run build -FROM node:current-alpine3.15 +FROM node:18.12.1-alpine3.16 USER node:node WORKDIR . COPY --from=builder --chown=node:node build build |
