Add Dockerfile, also some bug fixes

This commit is contained in:
Sivert V. Sæther
2025-09-30 15:23:44 +02:00
parent ef77991a1f
commit ac499c62fe
4 changed files with 57 additions and 19 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:slim
RUN apt update && apt upgrade -y && \
apt install -y tor && rm -rf /var/lib/apt/lists/*
RUN pip install uv
WORKDIR /app
ADD ./ .
RUN uv sync
ENTRYPOINT [ "/app/.venv/bin/gunicorn" ]
CMD [ "-w1", "-b0.0.0.0", "c2:app" ]