update project

This commit is contained in:
Maxim
2025-12-15 18:07:49 +03:00
parent e50b183d07
commit 316acd07cd
4 changed files with 42 additions and 1 deletions

View File

@@ -13,8 +13,14 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /app/data
RUN python manage.py collectstatic --noinput 2>/dev/null || true
EXPOSE 8000
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "eng_bot_metrics.wsgi:application"]