blob: 455f437517bd6c054dbfa30ee32bca370908e390 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
FROM python:3.6-alpine3.7
RUN apk add --update tini
RUN apk add --update git
RUN apk add --update build-base
RUN apk add --update gcc
RUN apk add --update cmake
RUN apk add --update autoconf
RUN apk add --update automake
RUN apk add --update libtool
RUN apk add --update postgresql-client postgresql postgresql-dev libffi libffi-dev libxml2 libxml2-dev
ENV PIPENV_VENV_IN_PROJECT=1
ENV PIPENV_IGNORE_VIRTUALENVS=1
ENV PIPENV_NOSPIN=1
ENV PIPENV_HIDE_EMOJIS=1
RUN pip install pipenv
RUN mkdir -p /site
COPY Pipfile /site
COPY Pipfile.lock /site
WORKDIR /site
ENV PYTHONPATH=/site
RUN pipenv sync
|