potamides commited on
Commit
b71501f
1 Parent(s): efdce2e

fix: restart docker container instead of only script

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -79,5 +79,4 @@ COPY --chown=user . $HOME/app
79
  # -----------------------------------------------------------------------------
80
  USER user
81
 
82
- # repeat cmd on abort
83
- CMD while python app.py; [ $? -eq 134 ]; do :; done
 
79
  # -----------------------------------------------------------------------------
80
  USER user
81
 
82
+ CMD ["python", "app.py"]