15 lines
539 B
Docker
15 lines
539 B
Docker
FROM oven/bun:1.3.1@sha256:9c5d3c92b234b4708198577d2f39aab7397a242a40da7c2f059e51b9dc62b408 AS bun
|
|
FROM node:24.11.0-trixie-slim@sha256:45babd1b4ce0349fb12c4e24bf017b90b96d52806db32e001e3013f341bef0fe
|
|
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
|