improvements
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# stage 1 as builder
|
||||
FROM node:latest as builder
|
||||
FROM node:24-bookworm-slim AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -11,11 +11,11 @@ WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
# Install the dependencies and make the folder
|
||||
RUN yarn install
|
||||
RUN corepack enable && yarn install --immutable
|
||||
|
||||
# Build the project and copy the files
|
||||
RUN yarn build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENTRYPOINT ["yarn", "start"]
|
||||
ENTRYPOINT ["yarn", "start"]
|
||||
|
||||
Reference in New Issue
Block a user