build a template website

This commit is contained in:
rainyy21
2026-10-05 19:40:24 -04:00
commit c86f93f4ca
36 changed files with 2581 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM python:3.12-slim
WORKDIR /app
COPY tracker/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY tracker/app.py tracker/check_links.py ./
COPY links.json ./links.json
RUN useradd -r app && chown -R app /app
USER app
EXPOSE 8000
# One worker so the in-memory rate limiter sees every request; threads handle concurrency.
CMD ["gunicorn", "-b", "0.0.0.0:8000", "--workers", "1", "--threads", "8", "app:app"]