upgrade python minor, pin pipenv and poetry, pull out python3-dev and postgres client

This commit is contained in:
burnettk 2023-10-13 23:01:33 -04:00
parent 67519030f7
commit b402c50f35
No known key found for this signature in database
1 changed files with 6 additions and 4 deletions

View File

@ -1,15 +1,17 @@
FROM python:3.11-slim FROM python:3.11.6-slim
WORKDIR /app WORKDIR /app
# pulled out:
# python3-dev \
# postgresql-client \
RUN set -xe \ RUN set -xe \
&& pip install pipenv poetry==1.2.2 \ && pip install pipenv==2023.10.3 poetry==1.6.1 \
&& apt-get update -q \ && apt-get update -q \
&& apt-get install -y -q \ && apt-get install -y -q \
gcc \ gcc \
python3-dev \
libssl-dev \ libssl-dev \
curl \ curl \
postgresql-client \
git-core \ git-core \
gunicorn3 gunicorn3