Files
screenjob/docker-compose.yml

18 lines
369 B
YAML

services:
screenjob:
image: python:3.11-slim
working_dir: /app
env_file:
- .env
environment:
SCREENJOB_HOST: 0.0.0.0
SCREENJOB_PORT: 8787
volumes:
- ./:/app
ports:
- "8787:8787"
command: >
sh -c "pip install --no-cache-dir -r requirements.txt &&
python main.py server"
restart: unless-stopped