From caac5027f25f50fee9d26c858f1e230436f70c5a Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Fri, 8 Dec 2023 13:19:57 -1000 Subject: [PATCH] chore: Fix Docker build --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 48e2eb8a..33fc7797 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,14 +20,13 @@ COPY . /temp/prod/ RUN cd /temp/prod && bun install --frozen-lockfile --production. # Generate Prisma -RUN bunx prisma generate +RUN cd /temp/prod && bunx prisma generate # Build Vite in pages -WORKDIR /temp/prod -RUN bunx --bun vite build pages +RUN cd /temp/prod && bunx --bun vite build pages # Build the project -RUN bun run build.ts +RUN cd /temp/prod && bun run build.ts # copy production dependencies and source code into final image FROM base AS release