подключил япфайл
This commit is contained in:
parent
377fa3246e
commit
cb1458bd93
9 changed files with 393 additions and 6 deletions
17
yapfiles-downloader/Dockerfile
Normal file
17
yapfiles-downloader/Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Установка зависимостей
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Копирование приложения
|
||||
COPY app.py .
|
||||
|
||||
# Создание директории для загрузок
|
||||
RUN mkdir -p downloads
|
||||
|
||||
# Запуск приложения
|
||||
CMD ["python", "app.py"]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue