FROM python:3-slim MAINTAINER Benjamin Bouvier RUN mkdir /app RUN apt update && \ apt install -y --force-yes libpq-dev build-essential COPY . /app WORKDIR /app RUN pip install -r requirements.txt CMD ["python", "/app/main.py"]