Update Dockerfile
This commit is contained in:
parent
4117477283
commit
9d7109d66c
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
## INIT STEP
|
## INIT STEP
|
||||||
# Install dependencies only when needed
|
# Install dependencies only when needed
|
||||||
FROM node:16-alpine AS deps
|
FROM node:18-alpine AS deps
|
||||||
|
|
||||||
RUN apk add --no-cache libc6-compat
|
RUN apk add --no-cache libc6-compat
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -25,7 +25,7 @@ RUN yarn build
|
||||||
## RUN STEP
|
## RUN STEP
|
||||||
FROM node:18-alpine AS runner
|
FROM node:18-alpine AS runner
|
||||||
|
|
||||||
LABEL author="neshura@proton.me"
|
LABEL author="neshura@neshweb.net"
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
|
|
Reference in a new issue