-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (15 loc) · 723 Bytes
/
Dockerfile
File metadata and controls
23 lines (15 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM jrottenberg/ffmpeg:4.1-nvidia1804
ENTRYPOINT []
WORKDIR /home/server
ADD ./requirements.txt ./requirements.txt
ENV LD_LIBRARY_PATH=
RUN apt-get update && apt-get install -y python3 python3-pip libssl-dev libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev locales libxml2-dev nginx iputils-ping
ENV LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib64:/usr/lib:/usr/lib64:/lib:/lib64"
ENV C_INCLUDE_PATH="/usr/include/libxml2/"
RUN pip3 install --upgrade pip && pip3 install --no-cache-dir -r requirements.txt
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
ADD nginx.conf /etc/nginx
CMD "bash"