Spaces:
Running
Running
LeafLeafLeaf
commited on
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
FROM meetwq/meme-generator:latest
|
2 |
|
|
|
|
|
3 |
# 创建目录并赋予写权限
|
4 |
RUN mkdir -p /.config/meme_generator && \
|
5 |
chmod -R 777 /.config/meme_generator
|
|
|
1 |
FROM meetwq/meme-generator:latest
|
2 |
|
3 |
+
ENV BAIDU_TRANS_APPID=#{BAIDU_TRANS_APPID:-appid}BAIDU_TRANS_APIKEY=${BAIDU_TRANS_APIKEY:-appkey}
|
4 |
+
|
5 |
# 创建目录并赋予写权限
|
6 |
RUN mkdir -p /.config/meme_generator && \
|
7 |
chmod -R 777 /.config/meme_generator
|