Setup Turbo
All checks were successful
Lint / lint (push) Successful in 13s

This commit is contained in:
Julien Valverdé
2025-09-17 04:24:28 +02:00
parent 53d961552e
commit 0908eba0ad
7 changed files with 83 additions and 28 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
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