29 lines
678 B
YAML
29 lines
678 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
ResumeFormatter:
|
|
build:
|
|
context: .
|
|
dockerfile: backend/Dockerfile
|
|
target: development
|
|
args:
|
|
# Add a build arg with current timestamp to force rebuild
|
|
CACHEBUST: ${CACHEBUST:-$(date +%s)}
|
|
|
|
ports:
|
|
- "8080:8080" # FastAPI port
|
|
- "5173:5173" # Vite dev server port (if needed)
|
|
|
|
volumes:
|
|
# Mount backend code for development
|
|
- ./backend:/app/backend
|
|
# Don't mount frontend - it's built during docker build
|
|
|
|
environment:
|
|
- NODE_ENV=development
|
|
# FastAPI environment variables
|
|
- HOST=0.0.0.0
|
|
- PORT=8080
|
|
|
|
restart: unless-stopped
|