add Docker entrypoint for container initialization

This commit is contained in:
2025-08-14 03:38:17 +04:00
parent 6c47d7f0a6
commit a5df3133ac
5 changed files with 27 additions and 4 deletions

View File

@@ -4,4 +4,6 @@ RUN apt-get update && apt-get install -y gcc libffi-dev build-essential && rm -r
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x /app/entrypoint.sh
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["python", "main.py"]