Jelajahi Sumber

更新 'Dockerfile'

robert 5 tahun lalu
induk
melakukan
6dc28a6497
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -11,4 +11,4 @@ RUN yum install -y gcc python-devel unzip zip wget \
    && cd /root && pip install flask && pip install flask-restful && pip install requests \
    && ls -l /root/flask_zbx_tools
     
-CMD "/usr/bin/python /root/flask_zbx_tools/service.py"
+CMD "cd /root/flask_zbx_tools && /usr/bin/python service.py"