correct docker
parent
e89d368113
commit
98769e9817
|
@ -1,6 +1,6 @@
|
||||||
# Dockerfile
|
# Dockerfile
|
||||||
# Pull the base image
|
# Pull the base image
|
||||||
FROM python:3.10
|
FROM python:3.11.7-slim-bookworm
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
ENV PYTHONDONTWRITEBYTECODE 1
|
ENV PYTHONDONTWRITEBYTECODE 1
|
||||||
|
@ -17,5 +17,5 @@ RUN pip install -r requirements.txt
|
||||||
COPY . /code/
|
COPY . /code/
|
||||||
|
|
||||||
# Run migrations
|
# Run migrations
|
||||||
RUN python manage.py makemigrations
|
# RUN python manage.py makemigrations
|
||||||
RUN python manage.py migrate
|
RUN python manage.py migrate
|
||||||
|
|
Loading…
Reference in New Issue