diff --git a/Dockerfile b/Dockerfile index b4b4698..13f5b6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,10 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . -WORKDIR /app/gestaoRaul RUN python gestaoRaul/manage.py collectstatic --noinput # RUN python gestaoRaul/manage.py migrate --noinput +WORKDIR /app/gestaoRaul diff --git a/gestaoRaul/gestaoRaul/settings.py b/gestaoRaul/gestaoRaul/settings.py index 9d05e53..e31ec57 100644 --- a/gestaoRaul/gestaoRaul/settings.py +++ b/gestaoRaul/gestaoRaul/settings.py @@ -34,9 +34,18 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-mqcnrs5!hc6bj$�@@9d8^2@x#w&$qhk3vlr5_)3znd9h6&d8' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = os.getenv('DEBUG') +DEBUG = True -ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS') +ALLOWED_HOSTS = [ + '192.168.0.100', + '192.168.1.150', + '10.72.150.166', + 'localhost', + '127.0.0.1', + 'rrbec.local.com', + 'django_app', + '0.0.0.0' + ] # Application definition