door-alarm/web/Dockerfile
Daniel Svitan 88c31a5133
All checks were successful
Gitea Build Action / build-go (push) Successful in 23s
Gitea Build Action / build-nuxt (push) Successful in 10m5s
🐳 Adds dockerfile
2025-06-06 22:12:54 +02:00

21 lines
290 B
Docker

FROM oven/bun:1 AS build
WORKDIR /app
COPY package.json bun.lock .
RUN bun install --frozen-lockfile --production
COPY . .
RUN bun run build
FROM oven/bun:1
WORKDIR /app
COPY --from=build /app/.output .
ENV PORT 3000
ENV HOST 0.0.0.0
EXPOSE 3000
CMD ["bun", "/app/server/index.mjs"]