Switch to Django with visitor tracking and server info footnote
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
2026-03-29 21:31:35 +03:00
parent 7f4b543f3d
commit 114fabdbdb
17 changed files with 341 additions and 25 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Build-time only — overridden at runtime via docker-compose env
ARG DJANGO_SECRET_KEY=build-placeholder
ENV DJANGO_SECRET_KEY=$DJANGO_SECRET_KEY
RUN python manage.py collectstatic --noinput
EXPOSE 8080
ENTRYPOINT ["./entrypoint.sh"]