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:535ba2ed7dcf0dec29b0af4cac2b87ccdd935880212d4b9537e767b078ce1ca3
|
|
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
|