mapletree/lxc3/porntumate/Dockerfile
admin_jk e6ba4970cf
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
porntumate add
2026-03-01 15:15:42 -07:00

23 lines
474 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Install system deps
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ .
# Config is mounted at runtime
VOLUME ["/config"]
EXPOSE 8888
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
CMD curl -f http://localhost:8888/ || exit 1
CMD ["python", "main.py"]