diff --git a/Dockerfile b/Dockerfile index 3dbbe7f..ded6f00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,11 @@ FROM node:lts-slim AS base +# Enable Corepack +RUN corepack enable + +# Set Yarn to the latest stable version +RUN yarn set version stable + # Create app directory WORKDIR /usr/src @@ -23,7 +29,7 @@ FROM base AS runner COPY package*.json ./ # Install only production app dependencies -RUN yarn install --production +#RUN yarn install # Bundle app source COPY . .