From 82d393b6042a5ee08589bfcc1b062f5e9d0777b7 Mon Sep 17 00:00:00 2001 From: itqop Date: Wed, 23 Oct 2024 00:03:04 +0300 Subject: [PATCH] Fix main path --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3b8db2c..f0d0904 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,11 @@ RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt RUN pip install torch --index-url https://download.pytorch.org/whl/cpu + # Копирование исходного кода COPY app /app +ENV PYTHONPATH=/app # Экспонирование порта EXPOSE 8002