mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
a8da6e4ed5
Heroku will continue to build binaries as long as stacks receive updates, even after EOL
16 lines
395 B
Docker
16 lines
395 B
Docker
FROM heroku/cedar:14
|
|
|
|
WORKDIR /app
|
|
ENV WORKSPACE_DIR="/app/builds" \
|
|
S3_BUCKET="lang-python" \
|
|
S3_PREFIX="cedar-14/" \
|
|
DEBIAN_FRONTEND=noninteractive \
|
|
STACK="cedar-14"
|
|
|
|
RUN apt-get update && apt-get install -y python-pip && 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
|