mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
0ff53eb59b
so that we do not get an update of libssl to 1.1.1, since the stack is still on 1.1.0
15 lines
466 B
Docker
15 lines
466 B
Docker
FROM heroku/heroku:18-build
|
|
|
|
WORKDIR /app
|
|
ENV WORKSPACE_DIR="/app/builds" \
|
|
S3_BUCKET="lang-python" \
|
|
S3_PREFIX="heroku-18/" \
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y python-pip-whl=9.0.1-2 python-pip=9.0.1-2 python-setuptools python-wheel && rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt /app/
|
|
RUN pip install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt
|
|
|
|
COPY . /app
|