merge
This commit is contained in:
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"]
|
||||
Reference in New Issue
Block a user