15 lines
540 B
Docker
15 lines
540 B
Docker
FROM oven/bun:1.3.11@sha256:0733e50325078969732ebe3b15ce4c4be5082f18c4ac1a0f0ca4839c2e4e42a7 AS bun
|
|
FROM node:22.22.2-trixie-slim@sha256:fbd78b2335c6c9894466257f6efcf285593bd449dd8cd525e9252219ca706165
|
|
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
|