🚑 Third fix
continuous-integration/drone/push Build is passing Details

master
Alix JEUDI--LEMOINE 3 months ago
parent eb4cbcf564
commit efb32ae2cf

@ -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"]
# 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"]
Loading…
Cancel
Save