diff --git a/Dockerfile b/Dockerfile index b9e1399..23edfb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,13 +12,11 @@ FROM oven/bun:1-slim AS runner WORKDIR /app ENV NODE_ENV=production +COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/.next ./.next COPY --from=builder /app/public ./public 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 -CMD ["bun", "run", "start"] \ No newline at end of file +CMD ["bunx", "next", "start"]