15 lines
540 B
Docker
15 lines
540 B
Docker
FROM oven/bun:1.2.22@sha256:66ba69deede44e3af5dc542def218fdb3bcad2205900ea761dc5623bf973d2df AS bun
|
|
FROM node:22.19.0-trixie-slim@sha256:29942871c60d79cfa155b67136b8a26a9c635684a41484ca50fdd8dd6ca31c52
|
|
COPY --from=bun /usr/local/bin/bun \
|
|
/usr/local/bin/bunx \
|
|
/usr/local/bin/
|
|
WORKDIR /app
|
|
COPY ./ ./
|
|
RUN bun install --frozen-lockfile && \
|
|
bun lint:tsc && \
|
|
bun lint:biome && \
|
|
bun run build && \
|
|
bun clean:cache && \
|
|
bun clean:modules && \
|
|
bun install --frozen-lockfile --production
|