From 38095ff93a35e2d126ca6eb172adb5c10af7fe74 Mon Sep 17 00:00:00 2001 From: TronoSfera <119615520+TronoSfera@users.noreply.github.com> Date: Mon, 19 Jan 2026 10:55:11 +0300 Subject: [PATCH] Fix server package layout in Dockerfile --- server/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index c4c0dcc..b3010c0 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -5,14 +5,14 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ WORKDIR /app -COPY requirements.txt . +COPY requirements.txt /app/requirements.txt RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r requirements.txt + pip install --no-cache-dir -r /app/requirements.txt -COPY . . +COPY . /app/server EXPOSE 8000 # Use gunicorn or uvicorn for FastAPI # Run the FastAPI application as a module so that relative imports work -CMD ["uvicorn", "server.main:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file +CMD ["uvicorn", "server.main:app", "--host", "0.0.0.0", "--port", "8000"]