FROM oven/bun:latest

WORKDIR /app

COPY . .

EXPOSE 3000

ENV NEXT_TELEMETRY_DISABLED=1

RUN bun install
RUN bun run build
ENTRYPOINT ["bun", "run", "start"]