game-servers/app/Dockerfile
neil cb9a6d1970
Game server manager: web UI for Valheim and Project Zomboid servers
FastAPI + vanilla JS app run as a Docker container behind Caddy (HTTPS by
IP). install.sh installs or updates it on a server in one command, with
preflight checks and Docker setup; deploy.sh pushes a local checkout to a
server over SSH and runs install.sh there.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 20:03:16 -07:00

8 lines
375 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN apt-get update && apt-get install -y --no-install-recommends iputils-ping && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py zomboid.py players.py backups.py ./
COPY static ./static
CMD ["uvicorn", "app:app", "--host", "127.0.0.1", "--port", "8080", "--proxy-headers"]