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