This commit is contained in:
2026-02-18 10:09:21 +01:00
parent c4fdd13f49
commit f5c4e39ba7
6 changed files with 51 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.14-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV DEBIANFRONTEND=noninteractive
WORKDIR /app
RUN apt update && apt install -y build-essential figlet libpq-dev && rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app/
RUN chmod +x /app/entrypoint.sh
EXPOSE 8000
CMD ["/app/entrypoint.sh"]