-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (22 loc) · 727 Bytes
/
Dockerfile
File metadata and controls
29 lines (22 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM python:3
WORKDIR /
# Update the repositories list and install software to add a PPA
RUN apt-get update && \
apt-get install -y software-properties-common
# Install git, gource and ffmpeg
RUN apt-get install -y git \
xvfb \
xfonts-base \
xfonts-75dpi \
xfonts-100dpi \
xfonts-cyrillic \
gource \
screen \
ffmpeg
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
VOLUME [ "/output" ]
VOLUME [ "/repos" ]
VOLUME [ "/logs" ]
CMD [ "python", "./gource-multiple-repos.py GITHUB_ACCOUNT API_TOKEN" ]