add superuser creation command and update settings for environment variables

This commit is contained in:
2025-05-26 23:40:57 +02:00
parent dbe83c9616
commit 4e79d7c1de
11 changed files with 168 additions and 6 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt /app/
# Install dependencies
RUN pip install --upgrade pip \
&& pip install -r requirements.txt \
&& pip install gunicorn
# Copy the rest of the project
COPY . /app/
EXPOSE 8000
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]