update
This commit is contained in:
@@ -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"]
|
||||
@@ -6,5 +6,3 @@ services:
|
||||
container_name: web_checker_app
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./urls.txt:/app/urls.txt
|
||||
Reference in New Issue
Block a user