Update Dockerfile
This commit is contained in:
parent
14485e3c7a
commit
694d94c58d
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ WORKDIR /app
|
||||||
|
|
||||||
# Copy the files needed to install deps
|
# Copy the files needed to install deps
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --frozen-lockfile --libc=musl
|
||||||
|
|
||||||
## BUILD STEP
|
## BUILD STEP
|
||||||
# Rebuild the source code only when needed
|
# Rebuild the source code only when needed
|
||||||
|
@ -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 /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
|
|
Loading…
Reference in a new issue