diff --git a/Dockerfile b/Dockerfile index 39fe6af..2b19f17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ RUN pip install --no-cache-dir -r requirements.txt # 5. Copiar el resto del código de la aplicación al contenedor COPY update.py . +COPY urls.txt . # 6. Comando por defecto para ejecutar el script cuando el contenedor inicie CMD ["python", "update.py"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 5b8931e..226f3a4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,4 @@ services: build: . container_name: web_checker_app env_file: .env - restart: unless-stopped - volumes: - - ./urls.txt:/app/urls.txt \ No newline at end of file + restart: unless-stopped \ No newline at end of file