Explorar el Código

更新 'Dockerfile'

robert hace 5 años
padre
commit
6dc28a6497
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"