Skip to content

Commit

Permalink
configure healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Haas committed Jan 29, 2024
1 parent c91b64a commit 21f29a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Empty file modified PythonAPI/util/ping.py
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions Util/Docker/Release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ RUN echo "export PYTHONPATH=\$PYTHONPATH:$CARLA_PYAPI_PATH/carla/dist/$(ls $CARL
USER carla
WORKDIR /home/carla

HEALTHCHECK --interval=5s --timeout=5s --start-period=10s --retries=3 \
CMD python3 ./PythonAPI/util/ping.py

# you can also run CARLA in offscreen mode with -RenderOffScreen
# CMD /bin/bash CarlaUE4.sh -RenderOffScreen
CMD /bin/bash CarlaUE4.sh

0 comments on commit 21f29a7

Please sign in to comment.