Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -11,5 +11,8 @@ RUN pip install -r requirements.txt
|
|
| 11 |
# 复制脚本文件
|
| 12 |
COPY monitor_ip.py .
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
# 运行脚本
|
| 15 |
CMD ["python", "monitor_ip.py"]
|
|
|
|
| 11 |
# 复制脚本文件
|
| 12 |
COPY monitor_ip.py .
|
| 13 |
|
| 14 |
+
# 更改 /code 目录的权限
|
| 15 |
+
RUN chmod -R 777 /code
|
| 16 |
+
|
| 17 |
# 运行脚本
|
| 18 |
CMD ["python", "monitor_ip.py"]
|