mememe / Dockerfile
LeafLeafLeaf's picture
Update Dockerfile
5131c56 verified
raw
history blame contribute delete
426 Bytes
FROM meetwq/meme-generator:latest
ENV BAIDU_TRANS_APPID=${BAIDU_TRANS_APPID:-appid} BAIDU_TRANS_APIKEY=${BAIDU_TRANS_APIKEY:-appkey}
# 创建目录并赋予写权限
RUN mkdir -p /.config/meme_generator && \
chmod -R 777 /.config/meme_generator
RUN apt update && apt install -y git
RUN git clone https://github.com/MeetWq/meme-generator-contrib && mkdir -p /data/memes && mv meme-generator-contrib/memes/* /data/memes