mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
58e664a9e3
https://unix.stackexchange.com/questions/146283/how-to-prevent-prompt-that-ask-to-restart-services-when-installing-libpq-dev
15 lines
380 B
Docker
15 lines
380 B
Docker
FROM heroku/heroku:16-build
|
|
|
|
WORKDIR /app
|
|
ENV WORKSPACE_DIR="/app/builds" \
|
|
S3_BUCKET="lang-python" \
|
|
S3_PREFIX="heroku-16/" \
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
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
|