Spaces:
Runtime error
Runtime error
misaka20002
commited on
Commit
·
627d7d6
1
Parent(s):
0a8c5ea
ENV MPLCONFIGDIR
Browse files- Dockerfile +2 -0
- config.toml +1 -1
Dockerfile
CHANGED
@@ -21,6 +21,8 @@ RUN git clone https://github.com/MeetWq/meme-generator.git
|
|
21 |
|
22 |
ENV POETRY_CONFIG_DIR=$HOME/app/.poetry_config
|
23 |
|
|
|
|
|
24 |
RUN pip install poetry
|
25 |
|
26 |
RUN git clone https://github.com/MeetWq/meme-generator-contrib && mkdir $HOME/meme-extend && mv meme-generator-contrib/memes/* $HOME/meme-extend
|
|
|
21 |
|
22 |
ENV POETRY_CONFIG_DIR=$HOME/app/.poetry_config
|
23 |
|
24 |
+
ENV MPLCONFIGDIR=/tmp/matplotlib-config
|
25 |
+
|
26 |
RUN pip install poetry
|
27 |
|
28 |
RUN git clone https://github.com/MeetWq/meme-generator-contrib && mkdir $HOME/meme-extend && mv meme-generator-contrib/memes/* $HOME/meme-extend
|
config.toml
CHANGED
@@ -6,7 +6,7 @@ meme_disabled_list = [] # 禁用的表情包列表,填写表情的 `key`
|
|
6 |
[resource]
|
7 |
resource_urls = [
|
8 |
"https://raw.githubusercontent.com/MeetWq/meme-generator/",
|
9 |
-
"https://ghproxy.
|
10 |
"https://fastly.jsdelivr.net/gh/MeetWq/meme-generator@",
|
11 |
"https://raw.fastgit.org/MeetWq/meme-generator/",
|
12 |
"https://raw.fgit.ml/MeetWq/meme-generator/",
|
|
|
6 |
[resource]
|
7 |
resource_urls = [
|
8 |
"https://raw.githubusercontent.com/MeetWq/meme-generator/",
|
9 |
+
"https://ghproxy.net/https://raw.githubusercontent.com/MeetWq/meme-generator/",
|
10 |
"https://fastly.jsdelivr.net/gh/MeetWq/meme-generator@",
|
11 |
"https://raw.fastgit.org/MeetWq/meme-generator/",
|
12 |
"https://raw.fgit.ml/MeetWq/meme-generator/",
|