From dcc890afcc86cc5523c310440a9c650b53ad53e9 Mon Sep 17 00:00:00 2001 From: marvinkrausser Date: Thu, 21 May 2026 06:04:34 +0200 Subject: [PATCH] fixed api dockerfile copy --- api/Dockerfile | 6 +++--- api/start_server.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index 79fd1de..33b4bbb 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -12,9 +12,9 @@ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -COPY src . -COPY start_server.sh . -COPY build_models . +COPY src ./src +COPY start_server.sh ./start_server.sh +COPY build_models ./build_models RUN chmod +x start_server.sh diff --git a/api/start_server.sh b/api/start_server.sh index bdd00bb..817afa2 100644 --- a/api/start_server.sh +++ b/api/start_server.sh @@ -1 +1 @@ -uvicorn server:app --host 0.0.0.0 --port 8000 --reload \ No newline at end of file +uvicorn src.server:app --host 0.0.0.0 --port 8000 --reload \ No newline at end of file