rogerxavier
commited on
Commit
•
d7b51c4
1
Parent(s):
3e55fcd
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -44,6 +44,10 @@ RUN mkdir -m 777 -p mask
|
|
44 |
RUN mkdir -m 777 -p cache
|
45 |
#缓存存放去mask的模型文件
|
46 |
RUN mkdir -m 777 -p .cache
|
|
|
|
|
|
|
|
|
47 |
|
48 |
|
49 |
EXPOSE 7860
|
|
|
44 |
RUN mkdir -m 777 -p cache
|
45 |
#缓存存放去mask的模型文件
|
46 |
RUN mkdir -m 777 -p .cache
|
47 |
+
# 设置 MPLCONFIGDIR 环境变量为可写目录
|
48 |
+
RUN mkdir -m 777 -p /MPLCONFIGDIR
|
49 |
+
ENV MPLCONFIGDIR=/MPLCONFIGDIR
|
50 |
+
|
51 |
|
52 |
|
53 |
EXPOSE 7860
|