Fix req
This commit is contained in:
parent
5eb11129e8
commit
346093fbcd
|
@ -16,6 +16,7 @@ WORKDIR /app
|
||||||
# Установка зависимостей
|
# Установка зависимостей
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
RUN pip install torch --index-url https://download.pytorch.org/whl/cpu
|
||||||
|
|
||||||
# Копирование исходного кода
|
# Копирование исходного кода
|
||||||
COPY app /app
|
COPY app /app
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
fastapi
|
fastapi
|
||||||
uvicorn[standard]
|
uvicorn[standard]
|
||||||
transformers
|
transformers
|
||||||
torch --index-url https://download.pytorch.org/whl/cpu
|
|
||||||
gunicorn
|
gunicorn
|
||||||
aioredis==2.0.1
|
aioredis==2.0.1
|
||||||
celery==5.3.0
|
celery==5.3.0
|
||||||
|
|
Loading…
Reference in New Issue