Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.git
node_modules
**/node_modules
**/.next
**/.turbo
**/dist
.env
.env.local
.env*.local
*.log
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM oven/bun:1.3.0-alpine
WORKDIR /app

COPY . .
RUN bun install --frozen-lockfile
RUN touch apps/editor/.env.local
RUN ./node_modules/.bin/turbo run build --filter=editor

EXPOSE 3000
WORKDIR /app/apps/editor
CMD ["bun", "run", "start"]
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
editor:
build: .
ports:
- "3000:3000"
environment:
NODE_ENV: production
restart: unless-stopped