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