docker-python/Dockerfile

15 lines
306 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