diff --git a/infrastructure/docker/carsharing/Dockerfile b/infrastructure/docker/carsharing/Dockerfile index f21eb2c1..9998fe78 100644 --- a/infrastructure/docker/carsharing/Dockerfile +++ b/infrastructure/docker/carsharing/Dockerfile @@ -4,11 +4,7 @@ ARG CARSHARING_BASEURL=https://carsharing.otp.opendatahub.testingmachine.eu ENV CARSHARING_BASEURL=$CARSHARING_BASEURL -# create a "fake" cron job with sleep +# create a "fake" cron job with sleep 60 # and with docker compose "restart: unless-stopped" -RUN echo "sleep 60..." -RUN sleep 60 -RUN echo "done." - -ENTRYPOINT ["python", "-m", "x2gbfs.x2gbfs", "-p", "noi", "-b", "${CARSHARING_BASEURL}"] +ENTRYPOINT python -m x2gbfs.x2gbfs -p noi -b ${CARSHARING_BASEURL} && sleep 60