test build and deploy #10
@@ -8,7 +8,7 @@ WORKDIR /app
|
||||
# && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Копирование кода приложения
|
||||
COPY api/ .
|
||||
COPY api/ api/
|
||||
|
||||
# Копирование зависимостей
|
||||
# COPY requirements.txt .
|
||||
@@ -22,4 +22,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
EXPOSE 8000
|
||||
|
||||
# Команда для запуска приложения
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
Reference in New Issue
Block a user