Skip to content

Commit

Permalink
commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mexmonjonovuz committed Dec 5, 2024
1 parent 9aa7e76 commit 2742fb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ RUN pip install --no-cache-dir -r requirements.txt
#RUN pip install --upgrade pip
#RUN --mount=type=cache,id=custom-pip,target=/root/.cache/pip pip install -r requirements.txt

CMD ["python3", "manage.py", "runserver", "0:8000"]
CMD ["python3", "manage.py", "runserver", "0:8000"]


5 changes: 4 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ services:
command:
- bash -c "python manage.py makemigrations && python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
ports:
- 8000:8000
- 8000:8000



0 comments on commit 2742fb9

Please sign in to comment.