Update Dockerfile

This commit is contained in:
Neshura 2023-12-20 22:03:04 +01:00
parent 4117477283
commit 9d7109d66c
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -1,6 +1,6 @@
## INIT STEP
# Install dependencies only when needed
FROM node:16-alpine AS deps
FROM node:18-alpine AS deps
RUN apk add --no-cache libc6-compat
WORKDIR /app
@ -25,7 +25,7 @@ RUN yarn build
## RUN STEP
FROM node:18-alpine AS runner
LABEL author="neshura@proton.me"
LABEL author="neshura@neshweb.net"
WORKDIR /usr/src/app
ENV NODE_ENV production