This commit is contained in:
2025-10-02 01:43:19 -06:00
parent aa0d682201
commit c6ae286d60
2 changed files with 2 additions and 3 deletions

View File

@@ -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 # 5. Copiar el resto del código de la aplicación al contenedor
COPY update.py . COPY update.py .
COPY urls.txt .
# 6. Comando por defecto para ejecutar el script cuando el contenedor inicie # 6. Comando por defecto para ejecutar el script cuando el contenedor inicie
CMD ["python", "update.py"] CMD ["python", "update.py"]

View File

@@ -5,6 +5,4 @@ services:
build: . build: .
container_name: web_checker_app container_name: web_checker_app
env_file: .env env_file: .env
restart: unless-stopped restart: unless-stopped
volumes:
- ./urls.txt:/app/urls.txt