diff --git a/web_school/Dockerfile b/web_school/Dockerfile index ceaf4f2..a324f89 100644 --- a/web_school/Dockerfile +++ b/web_school/Dockerfile @@ -8,4 +8,4 @@ RUN mkdir /webschool_backend WORKDIR /webschool_backend COPY . /webschool_backend/ RUN pip install -r req.txt -RUN python manage.py runserver 0.0.0.0:8000 +CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] diff --git a/web_school/web_school/settings.py b/web_school/web_school/settings.py index dca94b3..87d5e3b 100644 --- a/web_school/web_school/settings.py +++ b/web_school/web_school/settings.py @@ -26,7 +26,7 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ["194.44.93.225","127.0.0.1","localhost"] +ALLOWED_HOSTS = ["65.52.67.131","194.44.93.225","127.0.0.1","localhost"] # Application definition