Update Dockerfile
Some checks failed
Run Tests on Code / test (push) Successful in 2m19s
Build and Release Docker Image / test (push) Successful in 2m58s
Build and Release Docker Image / build (push) Failing after 1m48s

This commit is contained in:
Neshura 2023-12-20 08:34:23 +00:00
parent 14485e3c7a
commit 694d94c58d

View file

@ -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