Skip to content

Commit

Permalink
Merge pull request #175 from DefangLabs/unify-python
Browse files Browse the repository at this point in the history
made all teh images python:3.11-slim as that is the latest
  • Loading branch information
lionello authored Aug 22, 2024
2 parents 62fc166 + 761ff0b commit ba31ff1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Python runtime as a parent image
FROM python:3.10.4-slim-buster
FROM python:3.11-slim

# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
Expand All @@ -19,4 +19,4 @@ COPY . /code/
RUN python manage.py collectstatic --noinput

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

0 comments on commit ba31ff1

Please sign in to comment.