Moibe commited on
Commit
a617624
Β·
1 Parent(s): 32c8114

Add chmod to Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. config_creator.py +2 -0
Dockerfile CHANGED
@@ -8,5 +8,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
 
11
 
12
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
8
 
9
  COPY . .
10
 
11
+ RUN chmod -R a+w /code/archivos
12
 
13
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
config_creator.py CHANGED
@@ -3,6 +3,8 @@ import json
3
 
4
  def creaConfigFirestore(configuracion):
5
 
 
 
6
  # Paso 1: Obtener la variable de entorno
7
  firestore_config_str = os.getenv(configuracion)
8
 
 
3
 
4
  def creaConfigFirestore(configuracion):
5
 
6
+ print("Estoy en config creator...")
7
+
8
  # Paso 1: Obtener la variable de entorno
9
  firestore_config_str = os.getenv(configuracion)
10