fers web
This commit is contained in:
13
Dockerfile.api
Normal file
13
Dockerfile.api
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.14-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Копируем зависимости
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Копируем приложение
|
||||
COPY . .
|
||||
|
||||
# Стартуем приложение
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user