chartManD commited on
Commit
0e323a4
·
1 Parent(s): f2a4d8a

Config Dockerfile, redefinir solo para ejecutar

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -7
  2. cata_system/settings.py +1 -1
Dockerfile CHANGED
@@ -24,13 +24,6 @@ RUN pip install --upgrade pip && \
24
 
25
  COPY . .
26
 
27
- RUN python3 manage.py makemigrations
28
- RUN python3 manage.py migrate
29
- # RUN python3 manage.py tailwind build
30
- # RUN python3 manage.py collectstatic --noinput
31
-
32
- RUN python3 manage.py shell < create_superuser.py
33
-
34
  EXPOSE 7860
35
 
36
  CMD ["python3", "manage.py", "runserver", "0.0.0.0:7860"]
 
24
 
25
  COPY . .
26
 
 
 
 
 
 
 
 
27
  EXPOSE 7860
28
 
29
  CMD ["python3", "manage.py", "runserver", "0.0.0.0:7860"]
cata_system/settings.py CHANGED
@@ -28,7 +28,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
28
  SECRET_KEY = 'django-insecure-u)t2290d+c@$$7@!%@m&=w44$a@haxew8$!!tggh!up-+0-ll('
29
 
30
  # SECURITY WARNING: don't run with debug turned on in production!
31
- DEBUG = False
32
 
33
  ALLOWED_HOSTS = ["*"]
34
 
 
28
  SECRET_KEY = 'django-insecure-u)t2290d+c@$$7@!%@m&=w44$a@haxew8$!!tggh!up-+0-ll('
29
 
30
  # SECURITY WARNING: don't run with debug turned on in production!
31
+ DEBUG = True
32
 
33
  ALLOWED_HOSTS = ["*"]
34