13 lines
468 B
Docker
13 lines
468 B
Docker
FROM oven/bun:1.3.14-debian@sha256:9dba1a1b43ce28c9d7931bfc4eb00feb63b0114720a0277a8f939ae4dfc9db6f AS bun
|
|
|
|
FROM node:22.23.1-trixie-slim@sha256:e6d9a389d34ff9678438af985c9913fbd1eb6ed36e80fea56644f4b4f6dd70ba
|
|
COPY --from=bun /usr/local/bin/bun /usr/local/bin/bunx /usr/local/bin/
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
RUN bun install --frozen-lockfile && \
|
|
bun run build && \
|
|
bun clean:cache && \
|
|
bun clean:modules && \
|
|
bun install --production --frozen-lockfile
|