diff --git a/docker/Dockerfile b/docker/Dockerfile index d6731d4..4199f76 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -16,8 +16,5 @@ COPY . . # Expose API port EXPOSE 80 -# Runs the stub script -CMD ["python3", "app/stub.py"] - -# Launches the uvicorn server (command from offical FastAPI documentation) -ENTRYPOINT ["fastapi", "run", "app/main.py", "--port", "80"] \ No newline at end of file +# 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