Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
FROM xprobe/xinference:latest-cpu
|
| 2 |
-
|
|
|
|
| 3 |
|
| 4 |
# 指定容器启动时运行的命令
|
| 5 |
CMD ["xinference-local", "--host", "0.0.0.0", "--port", "9997"]
|
|
|
|
| 1 |
FROM xprobe/xinference:latest-cpu
|
| 2 |
+
ENV XINFERENCE_HOME=/.cache
|
| 3 |
+
RUN mkdir /.cache && chmod 777 /.cache
|
| 4 |
|
| 5 |
# 指定容器启动时运行的命令
|
| 6 |
CMD ["xinference-local", "--host", "0.0.0.0", "--port", "9997"]
|