mirror of
https://github.com/Kizuren/kizuren.dev.git
synced 2025-12-21 21:16:12 +01:00
Updated Dockerfile
This commit is contained in:
parent
b6e29323fc
commit
e189c900cf
1 changed files with 2 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
FROM oven/bun:1.1.13-alpine AS build
|
FROM oven/bun:1.1.13-debian AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json bun.lock ./
|
COPY package.json bun.lock ./
|
||||||
RUN bun install
|
RUN bun install
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN bun run build
|
RUN bun run build
|
||||||
|
|
||||||
FROM oven/bun:1.1.13-alpine
|
FROM oven/bun:1.1.13-debian
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/.output /app/.output
|
COPY --from=build /app/.output /app/.output
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue