Permalink
Branch: master
Find file Copy path
e4e5f5a Nov 4, 2018
1 contributor

Users who have contributed to this file

17 lines (13 sloc) 384 Bytes
FROM python:3.7-alpine3.8
ARG packages
RUN apk --update add ${packages} \
&& rm -rf /var/cache/apk/*
RUN pip3 install pipenv
# -- Install Application into container:
RUN set -ex && mkdir /app
WORKDIR /app
# -- Adding Pipfiles
ONBUILD COPY Pipfile Pipfile
ONBUILD COPY Pipfile.lock Pipfile.lock
# -- Install dependencies:
ONBUILD RUN set -ex && pipenv install --deploy --system