Dockerfile 522 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
FROM python:slim
MAINTAINER Guillaume Bernard <associations@guillaume-bernard.fr>

ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1

# Let this first for caching reasons
RUN apt update && \
    apt install -y gettext intltool gnome-doc-utils itstool libmariadbclient-dev libicu-dev build-essential

# Implicitely creates /damnedlies directory
WORKDIR /damnedlies

COPY requirements.txt /damnedlies/requirements.txt
RUN pip3 install -r requirements.txt

COPY .  /damnedlies/
ENTRYPOINT /damnedlies/docker-entrypoint.sh