Skip to content

Commit 9cfb674

Browse files
committed
made all teh images python:3.11-slim as that is the latest
1 parent 0712479 commit 9cfb674

File tree

12 files changed

+44
-44
lines changed

12 files changed

+44
-44
lines changed

samples/django-postgres/app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.12.2
2+
FROM python:3.11-slim
33

44
# Set environment variables
55
ENV PYTHONDONTWRITEBYTECODE 1
@@ -19,4 +19,4 @@ COPY . /code/
1919
RUN python manage.py collectstatic --noinput
2020

2121
# Start server
22-
CMD python manage.py migrate && python manage.py createsuperuser && gunicorn crm_platform.wsgi:application --bind 0.0.0.0:8000
22+
CMD python manage.py migrate && python manage.py createsuperuser && gunicorn crm_platform.wsgi:application --bind 0.0.0.0:8000

samples/django/app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.10.4-slim-buster
2+
FROM python:3.11-slim
33

44
# Set environment variables
55
ENV PYTHONDONTWRITEBYTECODE 1
@@ -19,4 +19,4 @@ COPY . /code/
1919
RUN python manage.py collectstatic --noinput
2020

2121
# Start server
22-
CMD python manage.py migrate && python manage.py createsuperauto && gunicorn defang_sample.wsgi:application --bind 0.0.0.0:8000
22+
CMD python manage.py migrate && python manage.py createsuperauto && gunicorn defang_sample.wsgi:application --bind 0.0.0.0:8000

samples/fastapi-postgres/fastapi/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory to /app
55
WORKDIR /app
66

77
# Install required C++11 libraries and ca-certificates
88
RUN apt-get update \
99
&& apt-get install -y \
10-
build-essential \
11-
python3-dev \
12-
ca-certificates \
10+
build-essential \
11+
python3-dev \
12+
ca-certificates \
1313
&& rm -rf /var/lib/apt/lists/*
1414

1515
# Install any needed packages specified in requirements.txt

samples/fastapi/fastapi/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory to /app
55
WORKDIR /app
66

77
# Install required C++11 libraries and ca-certificates
88
RUN apt-get update \
99
&& apt-get install -y \
10-
build-essential \
11-
python3-dev \
12-
ca-certificates \
10+
build-essential \
11+
python3-dev \
12+
ca-certificates \
1313
&& rm -rf /var/lib/apt/lists/*
1414

1515
# Install any needed packages specified in requirements.txt

samples/flask/flask/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Python runtime as a base image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory to /app
55
WORKDIR /app

samples/langchain/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory in the container
55
WORKDIR /app

samples/python-form/app/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory to /app
55
WORKDIR /app
66

77
# Install required C++11 libraries and ca-certificates
88
RUN apt-get update \
99
&& apt-get install -y \
10-
build-essential \
11-
python3-dev \
12-
ca-certificates \
13-
curl \
10+
build-essential \
11+
python3-dev \
12+
ca-certificates \
13+
curl \
1414
&& rm -rf /var/lib/apt/lists/*
1515

1616
# Install any needed packages specified in requirements.txt

samples/python-implicit-gpu/app/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory to /app
55
WORKDIR /app
66

77
# Install required C++11 libraries and ca-certificates
88
RUN apt-get update \
99
&& apt-get install -y \
10-
build-essential \
11-
python3-dev \
12-
ca-certificates \
13-
curl \
10+
build-essential \
11+
python3-dev \
12+
ca-certificates \
13+
curl \
1414
&& rm -rf /var/lib/apt/lists/*
1515

1616
# Install any needed packages specified in requirements.txt

samples/python-minimal/app/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory to /app
55
WORKDIR /app
66

77
# Install required C++11 libraries and ca-certificates
88
RUN apt-get update \
99
&& apt-get install -y \
10-
build-essential \
11-
python3-dev \
12-
ca-certificates \
13-
curl \
10+
build-essential \
11+
python3-dev \
12+
ca-certificates \
13+
curl \
1414
&& rm -rf /var/lib/apt/lists/*
1515

1616
# Install any needed packages specified in requirements.txt

samples/python-openai/app/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.11-slim
33

44
# Set the working directory to /app
55
WORKDIR /app
66

77
# Install required C++11 libraries and ca-certificates
88
RUN apt-get update \
99
&& apt-get install -y \
10-
build-essential \
11-
python3-dev \
12-
ca-certificates \
13-
curl \
10+
build-essential \
11+
python3-dev \
12+
ca-certificates \
13+
curl \
1414
&& rm -rf /var/lib/apt/lists/*
1515

1616
# Install any needed packages specified in requirements.txt

0 commit comments

Comments
 (0)