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 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
55ENV PYTHONDONTWRITEBYTECODE 1
@@ -19,4 +19,4 @@ COPY . /code/
1919RUN 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
Original file line number Diff line number Diff line change 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
55ENV PYTHONDONTWRITEBYTECODE 1
@@ -19,4 +19,4 @@ COPY . /code/
1919RUN 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
Original file line number Diff line number Diff line change 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
55WORKDIR /app
66
77# Install required C++11 libraries and ca-certificates
88RUN 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
Original file line number Diff line number Diff line change 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
55WORKDIR /app
66
77# Install required C++11 libraries and ca-certificates
88RUN 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
Original file line number Diff line number Diff line change 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
55WORKDIR /app
Original file line number Diff line number Diff line change 11# 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
33
44# Set the working directory in the builder container
55WORKDIR /src
Original file line number Diff line number Diff line change 11# Start from the official Go image.
2- FROM golang:1.19-alpine as builder
2+ FROM golang:1.20-slim as builder
33
44# Set the Current Working Directory inside the container
55WORKDIR /app
Original file line number Diff line number Diff line change 11# 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
33
44# Set the working directory in the builder container
55WORKDIR /src
Original file line number Diff line number Diff line change 11# 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
33
44# Set the working directory in the builder container
55WORKDIR /src
Original file line number Diff line number Diff line change 11# 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
33
44# Set the working directory in the builder container
55WORKDIR /src
You can’t perform that action at this time.
0 commit comments