ikechan8370 commited on
Commit
105d89f
1 Parent(s): d24ac67
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -2,6 +2,12 @@ FROM ubuntu:20.04
2
 
3
  RUN apt update && apt install -y python3-pip fonts-noto-cjk fonts-noto-color-emoji git fontconfig
4
 
 
 
 
 
 
 
5
  RUN useradd -m -u 1000 user
6
  USER user
7
  ENV HOME=/home/user \
@@ -11,9 +17,7 @@ WORKDIR $HOME/app
11
 
12
  COPY --chown=user . $HOME/app
13
 
14
- RUN git clone https://github.com/MeetWq/meme-generator.git && mkdir /usr/share/fonts/meme && mv meme-generator/resources/fonts/* /usr/share/fonts/meme
15
-
16
- RUN fc-cache -fv
17
 
18
 
19
  RUN pip install poetry
 
2
 
3
  RUN apt update && apt install -y python3-pip fonts-noto-cjk fonts-noto-color-emoji git fontconfig
4
 
5
+ RUN git clone https://github.com/MeetWq/meme-generator.git && mkdir /usr/share/fonts/meme && mv meme-generator/resources/fonts/* /usr/share/fonts/meme
6
+
7
+ RUN fc-cache -fv
8
+
9
+ RUN rm -rf meme-generator
10
+
11
  RUN useradd -m -u 1000 user
12
  USER user
13
  ENV HOME=/home/user \
 
17
 
18
  COPY --chown=user . $HOME/app
19
 
20
+ RUN git clone https://github.com/MeetWq/meme-generator.git
 
 
21
 
22
 
23
  RUN pip install poetry