Python app keeps restarting on completeion

Issues information

Your issue

I have simple python app, it has to execute once and exit. When I run in local python or on any online python it properly execute once and exits. But in Qovery, it keeps restarting again and again after completion. How to stop it after one execution.

Dockerfile content (if any)

FROM python:3


COPY . .

RUN apt-get update && apt-get install
RUN python3 -m pip install alice_blue
RUN python3 -m pip install requests
CMD python -u ./

Hey, it’s due to the Docker container restarts after your app finishes (or crashes). The type of application we deploy is not suitable for one-time jobs.

We plan to add a support for this kind of workflow, but the ETA is not determined yet.