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