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

Update Dockerfile

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