From 5d54490fb01c100902e54fce2aa47608e91138d4 Mon Sep 17 00:00:00 2001 From: Alix JEUDI--LEMOINE Date: Mon, 3 Feb 2025 16:26:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 4199f76..1acc00f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,4 +17,4 @@ COPY . . EXPOSE 80 # Runs the stub script & launches the uvicorn server (command from offical FastAPI documentation) -CMD ["python3", "app/stub.py", "&&", "fastapi", "run", "app/main.py", "--port", "80"] \ No newline at end of file +CMD ["sh", "-c", "python3 app/stub.py && fastapi run app/main.py --port 80"] \ No newline at end of file