File tree Expand file tree Collapse file tree 18 files changed +50
-50
lines changed Expand file tree Collapse file tree 18 files changed +50
-50
lines changed Original file line number Diff line number Diff line change 1
1
# Use an official Python runtime as a parent image
2
- FROM python:3.12.2
2
+ FROM python:3.11-slim
3
3
4
4
# Set environment variables
5
5
ENV PYTHONDONTWRITEBYTECODE 1
@@ -19,4 +19,4 @@ COPY . /code/
19
19
RUN python manage.py collectstatic --noinput
20
20
21
21
# 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
Original file line number Diff line number Diff line change 1
1
# Use an official Python runtime as a parent image
2
- FROM python:3.10.4 -slim-buster
2
+ FROM python:3.11 -slim
3
3
4
4
# Set environment variables
5
5
ENV PYTHONDONTWRITEBYTECODE 1
@@ -19,4 +19,4 @@ COPY . /code/
19
19
RUN python manage.py collectstatic --noinput
20
20
21
21
# 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
Original file line number Diff line number Diff line change 1
1
# Use an official Python runtime as a parent image
2
- FROM python:3.9 -slim
2
+ FROM python:3.11 -slim
3
3
4
4
# Set the working directory to /app
5
5
WORKDIR /app
6
6
7
7
# Install required C++11 libraries and ca-certificates
8
8
RUN apt-get update \
9
9
&& apt-get install -y \
10
- build-essential \
11
- python3-dev \
12
- ca-certificates \
10
+ build-essential \
11
+ python3-dev \
12
+ ca-certificates \
13
13
&& rm -rf /var/lib/apt/lists/*
14
14
15
15
# Install any needed packages specified in requirements.txt
Original file line number Diff line number Diff line change 1
1
# Use an official Python runtime as a parent image
2
- FROM python:3.9 -slim
2
+ FROM python:3.11 -slim
3
3
4
4
# Set the working directory to /app
5
5
WORKDIR /app
6
6
7
7
# Install required C++11 libraries and ca-certificates
8
8
RUN apt-get update \
9
9
&& apt-get install -y \
10
- build-essential \
11
- python3-dev \
12
- ca-certificates \
10
+ build-essential \
11
+ python3-dev \
12
+ ca-certificates \
13
13
&& rm -rf /var/lib/apt/lists/*
14
14
15
15
# Install any needed packages specified in requirements.txt
Original file line number Diff line number Diff line change 1
1
# Use an official Python runtime as a base image
2
- FROM python:3.9 -slim
2
+ FROM python:3.11 -slim
3
3
4
4
# Set the working directory to /app
5
5
WORKDIR /app
Original file line number Diff line number Diff line change 1
1
# Use an official Go runtime as a parent image
2
- FROM golang:1.20-alpine as builder
2
+ FROM golang:1.20-slim as builder
3
3
4
4
# Set the working directory in the builder container
5
5
WORKDIR /src
Original file line number Diff line number Diff line change 1
1
# Start from the official Go image.
2
- FROM golang:1.19-alpine as builder
2
+ FROM golang:1.20-slim as builder
3
3
4
4
# Set the Current Working Directory inside the container
5
5
WORKDIR /app
Original file line number Diff line number Diff line change 1
1
# Use an official Go runtime as a parent image
2
- FROM golang:1.20-alpine as builder
2
+ FROM golang:1.20-slim as builder
3
3
4
4
# Set the working directory in the builder container
5
5
WORKDIR /src
Original file line number Diff line number Diff line change 1
1
# Use an official Go runtime as a parent image
2
- FROM golang:1.20-alpine as builder
2
+ FROM golang:1.20-slim as builder
3
3
4
4
# Set the working directory in the builder container
5
5
WORKDIR /src
Original file line number Diff line number Diff line change 1
1
# Use an official Go runtime as a parent image
2
- FROM golang:1.20-alpine as builder
2
+ FROM golang:1.20-slim as builder
3
3
4
4
# Set the working directory in the builder container
5
5
WORKDIR /src
You can’t perform that action at this time.
0 commit comments