From 070d70e3ecfac8100dba60c93c357199d7ac7eba Mon Sep 17 00:00:00 2001 From: Face <69168154+face-hh@users.noreply.github.com> Date: Fri, 30 May 2025 12:50:59 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e5bce93..5627e86 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,9 @@ COPY website/. ./ # Build the application RUN npm run build +# List contents to debug build output +RUN ls -la + # Remove dev dependencies RUN npm prune --omit=dev @@ -56,7 +59,7 @@ RUN bun build src/main.ts --outdir dist --target bun FROM base-node AS production-main # Copy built application from build stage -COPY --from=build-main --chown=node:node /app/build ./build +COPY --from=build-main --chown=node:node /app/dist ./build COPY --from=build-main --chown=node:node /app/node_modules ./node_modules COPY --from=build-main --chown=node:node /app/package.json ./package.json