Initial commit for resumeformatter project
This commit is contained in:
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
Reference in New Issue
Block a user