Container commited on
Commit
ec2a6c2
·
verified ·
1 Parent(s): e2fc503

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y \
19
  && rm -rf /var/lib/apt/lists/*
20
 
21
  # 先取一份固定版本,用来复制内置字体
22
- RUN git clone --branch v0.1.14 --depth 1 https://github.com/MeetWq/meme-generator.git /tmp/meme-generator \
23
  && mkdir -p /usr/share/fonts/meme \
24
  && cp /tmp/meme-generator/resources/fonts/* /usr/share/fonts/meme/ \
25
  && fc-cache -fv \
@@ -37,7 +37,7 @@ WORKDIR $HOME/app
37
  COPY --chown=user . $HOME/app
38
 
39
  # 这里也锁同一个版本,避免前后版本不一致
40
- RUN git clone --branch v0.1.14 --depth 1 https://github.com/MeetWq/meme-generator.git
41
 
42
  RUN pip install --no-cache-dir poetry
43
 
 
19
  && rm -rf /var/lib/apt/lists/*
20
 
21
  # 先取一份固定版本,用来复制内置字体
22
+ RUN git clone --branch v0.0.20 --depth 1 https://github.com/MeetWq/meme-generator.git /tmp/meme-generator \
23
  && mkdir -p /usr/share/fonts/meme \
24
  && cp /tmp/meme-generator/resources/fonts/* /usr/share/fonts/meme/ \
25
  && fc-cache -fv \
 
37
  COPY --chown=user . $HOME/app
38
 
39
  # 这里也锁同一个版本,避免前后版本不一致
40
+ RUN git clone --branch v0.0.20 --depth 1 https://github.com/MeetWq/meme-generator.git
41
 
42
  RUN pip install --no-cache-dir poetry
43