Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b7e4f01a6 | ||
|
|
465bb37ea2 |
-16
@@ -1,16 +0,0 @@
|
|||||||
FROM python:3.12-slim
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
# Зависимости
|
|
||||||
COPY requirements.txt .
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
|
||||||
|
|
||||||
# Код
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
# Порт
|
|
||||||
EXPOSE 5000
|
|
||||||
|
|
||||||
# Запуск
|
|
||||||
CMD ["python", "app.py"]
|
|
||||||
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
flask>=3.0
|
Flask==2.0.1
|
||||||
|
Werkzeug==2.3.7
|
||||||
requests>=2.31
|
requests>=2.31
|
||||||
gunicorn>=21.2
|
gunicorn>=21.2
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1017 B After Width: | Height: | Size: 1017 B |
Reference in New Issue
Block a user