GordonChan365 commited on
Commit
93f9b3d
·
verified ·
1 Parent(s): d7976a9

Update Dockerfile

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