env thing and starting to changes

This commit is contained in:
user
2025-10-21 01:16:39 +03:00
parent b150095361
commit 3232542de1
10 changed files with 41 additions and 144 deletions

View File

@@ -0,0 +1,29 @@
FROM node:24.10.0 AS base
RUN npm i -g bun
FROM base AS builder
WORKDIR /app
COPY package.json bun.lockb turbo.json ./
COPY apps/frontend/package.json ./apps/frontend/package.json
COPY packages ./packages
RUN bun install
COPY apps/frontend ./apps/frontend
RUN bun install
RUN bun run build
COPY scripts ./scripts
EXPOSE 3000
RUN chmod +x scripts/prod.start.sh
CMD ["/bin/sh", "scripts/prod.start.sh", "apps/frontend"]