From 2c2d632a601c4bb671bca5525ad7c60c6dbcdb9e Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Wed, 19 Feb 2025 11:37:21 -0500 Subject: [PATCH] Fix dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d064ead..3dbbe7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,13 +9,13 @@ FROM base AS builder COPY package*.json ./ # Install app dependencies -RUN npm ci +RUN yarn install # Bundle app source COPY . . # Type check app -RUN npm run typecheck +RUN yarn typecheck FROM base AS runner @@ -23,7 +23,7 @@ FROM base AS runner COPY package*.json ./ # Install only production app dependencies -RUN npm ci --omit=dev +RUN yarn install --production # Bundle app source COPY . .