Files
website/Dockerfile
Julien Valverdé 0908eba0ad
All checks were successful
Lint / lint (push) Successful in 13s
Setup Turbo
2025-09-17 04:24:28 +02:00

25 lines
620 B
Docker

FROM oven/bun:1 AS bun
FROM node:20-trixie-slim
COPY --from=bun /usr/local/bin/bun \
/usr/local/bin/bunx \
/usr/local/bin/
WORKDIR /app
COPY ./ ./
RUN bun install --frozen-lockfile && \
npm run build && \
npm run lint:tsc && \
# npm run lint:eslint && \
npm run clean:cache && \
\
npm run clean:node && \
bun install --frozen-lockfile --production && \
find node_modules/proxy-from-env -type f -exec chmod 644 {} \; && \
npx -w packages/server prisma generate && \
\
cd cms && \
bun install --frozen-lockfile --production && \
npm run build