made some changes to make the docker compose build work + added docker ignores to not copy non-essential files
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -2,10 +2,16 @@ FROM oven/bun:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
# Copy root manifest files and workspace packages needed for bun workspaces
|
||||
COPY package.json ./
|
||||
COPY apps ./apps
|
||||
COPY packages ./packages
|
||||
|
||||
RUN bun install --frozen-lockfile
|
||||
# Install workspace dependencies from repo root
|
||||
RUN bun install
|
||||
|
||||
# Build the client
|
||||
WORKDIR /app/apps/client
|
||||
RUN bun run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user