forked from JetBrains/kotlin-web-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (14 loc) · 629 Bytes
/
Dockerfile
File metadata and controls
20 lines (14 loc) · 629 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.6
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y build-essential xorg gdebi ruby
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz && \
tar xf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz && \
mv wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf && \
chmod +x /usr/local/bin/wkhtmltopdf
# see markdown.py for kramdown version
RUN gem install kramdown -v 1.14.0
COPY requirements.txt /tmp
RUN pip install -r /tmp/requirements.txt
EXPOSE 5000
ENTRYPOINT ["python", "/src/kotlin-website.py"]