diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 5329cf3..fb20c1d 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -15,7 +15,7 @@ COPY /cache /pnpm/store COPY apps/api/package.json apps/api/pnpm-lock.yaml ./ COPY . . RUN pnpm install --frozen-lockfile -RUN pnpm run build +RUN pnpm run build || { echo 'Build failed'; exit 1; } # Install packages needed for deployment FROM base