docker-python/Dockerfile

16 lines
319 B
Docker
Raw Normal View History

FROM python:3.7-slim
2020-06-16 18:05:12 +00:00
WORKDIR /app
COPY Pipfile Pipfile.lock /app/
RUN set -xe \
&& pip install pipenv \
&& apt-get update -q \
&& apt-get install -y -q \
gcc python3-dev libssl-dev \
curl postgresql-client git-core \
2020-06-16 18:05:12 +00:00
gunicorn3 postgresql-client \
&& pipenv install --dev
2020-06-17 01:51:44 +00:00
WORKDIR /app