Update Dockerfile
Some checks failed
Build and Deploy / update-lockfile (push) Has been skipped
Build and Deploy / build (push) Failing after 20s
Build and Deploy / build_dependabot (push) Has been skipped

This commit is contained in:
Kizuren 2025-12-09 20:41:35 +01:00 committed by GitHub
parent cb3b9eacff
commit 960db5f6d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,13 +12,11 @@ FROM oven/bun:1-slim AS runner
WORKDIR /app WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/.next ./.next COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public COPY --from=builder /app/public ./public
COPY --from=builder /app/package.json ./package.json COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/next.config.ts ./next.config.ts
RUN bun install --production
RUN bun add typescript
EXPOSE 3000 EXPOSE 3000
CMD ["bun", "run", "start"] CMD ["bunx", "next", "start"]