GordonChan365 commited on
Commit
d7976a9
·
verified ·
1 Parent(s): 6b5490c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,6 +1,7 @@
1
  FROM xprobe/xinference:latest-cpu
2
-
3
- RUN mkdir /.xinterface /.xoscar && chmod 777 /.xinterface /.xoscar
 
4
 
5
  # 指定容器启动时运行的命令
6
  CMD ["xinference-local", "--host", "0.0.0.0", "--port", "9997"]
 
1
  FROM xprobe/xinference:latest-cpu
2
+ RUN pwd
3
+ RUN mkdir /.xinference && chmod 777 /.xinference \
4
+ && mkdir /.xoscar && && chmod 777 /.xoscar
5
 
6
  # 指定容器启动时运行的命令
7
  CMD ["xinference-local", "--host", "0.0.0.0", "--port", "9997"]