correct docker

master
andrey 2024-01-26 05:14:54 +00:00
parent e89d368113
commit 98769e9817
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Dockerfile
# Pull the base image
FROM python:3.10
FROM python:3.11.7-slim-bookworm
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
@ -17,5 +17,5 @@ RUN pip install -r requirements.txt
COPY . /code/
# Run migrations
RUN python manage.py makemigrations
RUN python manage.py migrate
# RUN python manage.py makemigrations
RUN python manage.py migrate