Browse Source

add simple Dockerfile with all dependencies included

automate
mxmehl 6 months ago
parent
commit
20458cc5a0
Signed by: mxmehl GPG Key ID: 2704E4AB371E2E92
  1. 19
      Dockerfile

19
Dockerfile

@ -0,0 +1,19 @@
FROM alpine:3.13
RUN apk add libreoffice python3-dev musl-dev jpeg-dev poppler-utils make py3-pip zlib-dev gcc
COPY requirements.txt .
RUN pip install -r requirements.txt
# OpenJDK
RUN apk fetch openjdk8 && apk add openjdk8 && rm openjdk8*
ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
# Fonts
RUN apk add msttcorefonts-installer
RUN update-ms-fonts
RUN fc-cache -f
WORKDIR /data
CMD make build
Loading…
Cancel
Save