15 lines
539 B
Docker
15 lines
539 B
Docker
FROM oven/bun:1.3.0@sha256:00cccad6e9c66bbacc250851f689168606aaea551ac473e908bbcf00a5645025 AS bun
|
|
FROM node:22.20.0-trixie-slim@sha256:b64d83bd0f1d211b6907e85727e0040c623363dba93f6e2ed00dc1b1b9d1e0ba
|
|
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
|