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:
2026-04-27 15:03:45 -05:00
parent b4fd4ee8e6
commit fb8a06f11a
8 changed files with 43 additions and 11 deletions
+9
View File
@@ -0,0 +1,9 @@
node_modules/
dist/
build/
coverage/
*.log
*.env
.DS_Store
.vscode/
.idea/
+9 -2
View File
@@ -2,9 +2,16 @@ FROM oven/bun:latest
WORKDIR /app
COPY . .
# Copy root manifest files and workspace packages so bun can resolve workspaces
COPY package.json ./
COPY apps ./apps
COPY packages ./packages
RUN bun install --frozen-lockfile
# Install workspace dependencies from repo root
RUN bun install
# Run server from its app folder
WORKDIR /app/apps/server
EXPOSE 3000
+1 -1
View File
@@ -15,4 +15,4 @@ export const DELETE = app.delete;
console.log(
`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`
);
);