dokku-comp

This commit is contained in:
2023-09-11 23:04:53 +03:00
parent 4be2dc3a45
commit b9a98f1e56
25 changed files with 646 additions and 460 deletions

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM python:3.11-slim
WORKDIR /app
COPY . /app
COPY requirements.txt /app/
RUN apt-get update && apt-get install -y git build-essential libffi-dev libssl-dev
RUN pip install --trusted-host pypi.python.org -r /app/requirements.txt
CMD ["python", "bot/main.py"]