Fix dockerfile

This commit is contained in:
Lucid Kobold
2025-02-19 11:37:21 -05:00
parent b3d44f18bd
commit 2c2d632a60

View File

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