merge
This commit is contained in:
6
.docker/bot/.dockerignore
Normal file
6
.docker/bot/.dockerignore
Normal file
@@ -0,0 +1,6 @@
|
||||
.venv
|
||||
.venv/
|
||||
.log
|
||||
__pycache__
|
||||
.history
|
||||
.vscode
|
||||
12
.docker/bot/Dockerfile
Normal file
12
.docker/bot/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.10-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Копируем весь проект в контейнер
|
||||
COPY ../../ /app
|
||||
|
||||
# Устанавливаем зависимости только для bot
|
||||
|
||||
RUN pip install --upgrade pip && pip install --no-cache-dir -r .docker/bot/requirements.txt
|
||||
# Команда запуска для бота
|
||||
CMD ["python", "manage.py" ,"run_bot.py"]
|
||||
44
.docker/bot/requirements.txt
Normal file
44
.docker/bot/requirements.txt
Normal file
@@ -0,0 +1,44 @@
|
||||
ace_tools
|
||||
aiohappyeyeballs
|
||||
aiohttp
|
||||
aiosignal
|
||||
APScheduler
|
||||
Django
|
||||
django-environ
|
||||
django_extensions
|
||||
django-filter
|
||||
django-health-check
|
||||
django-jazzmin
|
||||
django-jet
|
||||
et_xmlfile
|
||||
fonttools
|
||||
fpdf2
|
||||
geoip2
|
||||
git-filter-repo
|
||||
httpcore
|
||||
httpx
|
||||
jsonschema
|
||||
jsonschema-specifications
|
||||
maxminddb
|
||||
multidict
|
||||
PyMySQL
|
||||
numpy
|
||||
openpyxl
|
||||
pandas
|
||||
pathspec
|
||||
pillow
|
||||
propcache
|
||||
psycopg
|
||||
PyMySQL
|
||||
python-dateutil
|
||||
python-decouple
|
||||
python-dotenv
|
||||
python-telegram-bot
|
||||
PyYAML
|
||||
requests
|
||||
sqlparse
|
||||
ua-parser
|
||||
ua-parser-builtins
|
||||
user-agents
|
||||
yarl
|
||||
cryptography
|
||||
Reference in New Issue
Block a user