# Docker Compose for dev builds only services: web: build: context: . dockerfile: Dockerfile.dev # Initialize the SQLite database, load the flashcards data, and start the server command: > sh -c "python manage.py migrate && python manage.py loaddata cards.json && python manage.py runserver 0.0.0.0:8000" env_file: - ./stockhelper/.env volumes: - .:/code ports: - 8000:8000