This commit is contained in:
Ruslan Piatrovich
2024-12-13 14:22:21 +03:00
parent be33aa549e
commit f815f629ec
871 changed files with 193 additions and 138036 deletions
+17
View File
@@ -0,0 +1,17 @@
# Используем официальный образ Python
FROM python:3.9-slim
# Устанавливаем рабочую директорию
WORKDIR /app
# Копируем файлы приложения
COPY app.py requirements.txt /app/
# Устанавливаем зависимости
RUN pip install --no-cache-dir -r requirements.txt
# Открываем порт для приложения
EXPOSE 5000
# Запускаем приложение
CMD ["python", "app.py"]