From 57111d28251f9fc42134c8f87d0b7220301679a1 Mon Sep 17 00:00:00 2001 From: groot Date: Sat, 4 Jan 2025 20:20:38 +0000 Subject: [PATCH] =?UTF-8?q?Dockerfile=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f394f48 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM alpine:latest +RUN apk update && apk upgrade && apk add bash autoconf automake make gcc g++ redis +RUN mkdir /config +COPY redis/redis.conf /config/redis.conf +EXPOSE 6379 +STOPSIGNAL SIGTERM +CMD ["/bin/bash", "-c", "redis-server /config/redis.conf"] \ No newline at end of file