🚑 Fix python command name in Dockerfile
continuous-integration/drone/push Build is failing Details

master
Alix JEUDI--LEMOINE 3 months ago
parent 0ecfcdc608
commit 4377ac32b4

@ -17,7 +17,7 @@ COPY . .
EXPOSE 80 EXPOSE 80
# Runs the stub script # Runs the stub script
RUN "python app/stub.py" RUN "python3 app/stub.py"
# Launches the uvicorn server (command from offical FastAPI documentation) # Launches the uvicorn server (command from offical FastAPI documentation)
CMD ["fastapi", "run", "app/main.py", "--port", "80"] CMD ["fastapi", "run", "app/main.py", "--port", "80"]
Loading…
Cancel
Save