aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/app/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/app/Dockerfile b/code/app/Dockerfile
index 1cc5284..e381c8d 100644
--- a/code/app/Dockerfile
+++ b/code/app/Dockerfile
@@ -1,10 +1,10 @@
-FROM node:18.12.1-alpine3.16 AS builder
+FROM registry.hub.docker.com/library/node:lts-buster-slim AS builder
WORKDIR .
COPY package.json .
RUN npm i
COPY . .
RUN npm run build
-FROM node:18.12.1-alpine3.16
+FROM registry.hub.docker.com/library/node:lts-buster-slim
USER node:node
WORKDIR .
COPY --from=builder --chown=node:node build build