Initial working version with minor bugs
This commit is contained in:
parent
f946e4933a
commit
71b3993326
83 changed files with 34485 additions and 173 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# Pull base image
|
||||
FROM python:3.12.2-slim-bookworm
|
||||
FROM python:3.12.2-bookworm
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
|
|
@ -23,5 +23,7 @@ COPY . /code/
|
|||
# Expose port 8000
|
||||
EXPOSE 8000
|
||||
|
||||
USER 10003:10003
|
||||
|
||||
# Use gunicorn on port 8000
|
||||
CMD ["gunicorn", "--bind", ":8000", "--workers", "2", "django_project.wsgi"]
|
||||
CMD ["gunicorn", "--bind", ":8000", "--workers", "2", "django_project.wsgi"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue