This commit is contained in:
xds
2026-03-16 12:24:47 +03:00
parent d5700c1dee
commit bdbeb6e135

View File

@@ -1,14 +1,10 @@
FROM python:3.13-slim FROM python:3.13-slim
# Рабочая директория внутри контейнера
WORKDIR /app WORKDIR /app
# Копируем зависимости (если есть requirements.txt) COPY backend/requirements.txt ./requirements.txt
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
# Копируем код COPY backend/ ./backend/
COPY . .
# Запуск приложения (замени app.py на свой файл) CMD ["uvicorn", "backend.app.main:app", "--host", "0.0.0.0", "--port", "8099"]
CMD ["uvicorn", "aiws:app", "--host", "0.0.0.0", "--port", "8090"]