Updated Dockerfile

This commit is contained in:
Kizuren 2025-07-04 20:42:14 +02:00 committed by GitHub
parent b6e29323fc
commit e189c900cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,11 @@
FROM oven/bun:1.1.13-alpine AS build
FROM oven/bun:1.1.13-debian AS build
WORKDIR /app
COPY package.json bun.lock ./
RUN bun install
COPY . .
RUN bun run build
FROM oven/bun:1.1.13-alpine
FROM oven/bun:1.1.13-debian
WORKDIR /app
COPY --from=build /app/.output /app/.output
ENV NODE_ENV=production