LeafLeafLeaf commited on
Commit
515f09f
·
verified ·
1 Parent(s): 5d5de15

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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