luanpoppe commited on
Commit
9a3d7f9
·
1 Parent(s): 8a0bda6

feat: tentando com uvicorn

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements.txt +0 -0
Dockerfile CHANGED
@@ -30,7 +30,8 @@ EXPOSE 8000
30
  # CMD ["python3", "manage.py", "runserver"]
31
  # CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
32
  # CMD ["gunicorn", "setup.wsgi"]
33
- CMD ["gunicorn", "setup.wsgi:application", "--bind", ":8000"]
 
34
 
35
  # # Create a non-privileged user that the app will run under.
36
  # # See https://docs.docker.com/go/dockerfile-user-best-practices/
 
30
  # CMD ["python3", "manage.py", "runserver"]
31
  # CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
32
  # CMD ["gunicorn", "setup.wsgi"]
33
+ # CMD ["gunicorn", "setup.wsgi:application", "--bind", ":8000"]
34
+ CMD ["uvicorn", "setup.asgi:application", "--host", "0.0.0.0", "--port", "8000"]
35
 
36
  # # Create a non-privileged user that the app will run under.
37
  # # See https://docs.docker.com/go/dockerfile-user-best-practices/
requirements.txt CHANGED
Binary files a/requirements.txt and b/requirements.txt differ