Container commited on
Commit
34ccdb4
·
verified ·
1 Parent(s): 9d115b8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -3
Dockerfile CHANGED
@@ -1,6 +1,17 @@
1
- FROM ubuntu:22.04
2
-
3
- RUN apt update && apt install -y python3-pip fonts-noto-cjk fonts-noto-color-emoji git fontconfig
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  RUN git clone --branch v0.1.7 --depth 1 https://github.com/MeetWq/meme-generator.git && mkdir /usr/share/fonts/meme && mv meme-generator/resources/fonts/* /usr/share/fonts/meme
6
 
 
1
+ # 本地加载版
2
+ FROM debian:11-slim
3
+
4
+ # 安装py基础依赖以及git,以及各种项目需要用到的字体包
5
+ RUN apt-get update && apt-get install -y --no-install-recommends \
6
+ git \
7
+ python3 \
8
+ python3-pip \
9
+ openssl \
10
+ fonts-noto-cjk \
11
+ fonts-noto-color-emoji \
12
+ fontconfig \
13
+ libgl1-mesa-glx \
14
+ && rm -rf /var/lib/apt/lists/*
15
 
16
  RUN git clone --branch v0.1.7 --depth 1 https://github.com/MeetWq/meme-generator.git && mkdir /usr/share/fonts/meme && mv meme-generator/resources/fonts/* /usr/share/fonts/meme
17