From 685a7f44407fd63aea8819886ab583d5338bd370 Mon Sep 17 00:00:00 2001 From: facalv Date: Mon, 23 Mar 2026 10:08:38 +0100 Subject: [PATCH] Add dockerfile --- dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..32e0505 --- /dev/null +++ b/dockerfile @@ -0,0 +1,17 @@ +# Imagen base ligera +FROM alpine:latest + +# Información del mantenedor +LABEL maintainer="tu-email@ejemplo.com" + +# Actualizar paquetes e instalar curl (útil para health checks) +RUN apk update && apk add --no-cache curl + +# Crear un directorio de trabajo +WORKDIR /app + +# Crear un archivo de prueba +RUN echo "¡Integración continua funcionando!" > mensaje.txt + +# Comando que se ejecuta al iniciar el contenedor +CMD ["sh", "-c", "cat mensaje.txt && echo 'Contenedor iniciado correctamente' && tail -f /dev/null"] \ No newline at end of file