Skip to content
Permalink
73c811f7c9
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
24 lines (19 sloc) 663 Bytes
FROM python:3.7
ENV PYTHONUNBUFFERED 1
ENV SHELL /bin/bash
# ------------------------------------------
# install necessary packages via apt-get:
# ------------------------------------------
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libsasl2-dev python-dev libldap2-dev libssl-dev
RUN apt-get update && \
apt-get install -y --no-install-recommends \
graphicsmagick
# this is supposed to save memory:
RUN rm -rf /var/lib/apt/lists/*
# ------------------------------------------
# install python dependencies:
# ------------------------------------------
COPY requirements.txt "$INSTALL_DIR/"
RUN pip install -r requirements.txt