22 Star 280 Fork 17

subframe7536/Maple-Font

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 592 Bytes
一键复制 编辑 原始数据 按行查看 历史
subframe7536 提交于 2025-09-08 12:41 +08:00 . optimize docker file #624
FROM python:3.11-slim
# Install system dependencies including FontForge
RUN apt-get update \
&& apt-get install -y fontforge \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy requirements.txt first to avoid duplication installation
COPY requirements.txt .
# Install Python dependencies
RUN pip install -r requirements.txt
# Copy the project files
COPY . .
# Create volume mount points
VOLUME /app/fonts
# Default build arguments
ENV BUILD_ARGS=""
# Run the build script with optional arguments
ENTRYPOINT ["sh", "-c", "python build.py $BUILD_ARGS"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/subframe7536/Maple.git
git@gitee.com:subframe7536/Maple.git
subframe7536
Maple
Maple-Font
variable

搜索帮助