blob: f3ec3f437a1252b733f3c9035e20cbb2cd65b37f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
FROM debian:latest
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 python3-pip \
texlive-xetex \
texlive-lang-japanese texlive-lang-chinese \
fonts-noto-cjk fonts-noto-cjk-extra && \
apt-get autoclean && \
apt-get --purge --yes autoremove && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY *.py .
ENTRYPOINT ["python3", "app.py"]
|