forked from liberapay/liberapay.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
19 lines (13 loc) · 644 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM debian:9
RUN apt-get update && \
apt-get install -y build-essential wget libpq-dev libffi-dev python-dev postgresql-client && \
rm -rf /var/lib/apt/lists/*
RUN wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && python /tmp/get-pip.py
ADD ./requirements_base.txt /requirements/pip/base.txt
RUN pip install --require-hashes -r /requirements/pip/base.txt
ADD ./requirements_dev.txt /requirements/pip/dev.txt
RUN pip install --require-hashes -r /requirements/pip/dev.txt
ADD ./requirements_tests.txt /requirements/pip/tests.txt
RUN pip install --require-hashes -r /requirements/pip/tests.txt
ADD . /app
WORKDIR /app