door-alarm/web/Dockerfile
Daniel Svitan 000c12845c
All checks were successful
Gitea Build Action / build-go (push) Successful in 28s
Gitea Build Action / build-nuxt (push) Successful in 10m8s
Adds fetching and toggling alerts
2025-06-07 08:59:34 +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"]