1
0

」 feat: finished last containers

This commit is contained in:
2025-03-04 10:47:25 +01:00
parent 57387462cf
commit 1538afbc7b
12 changed files with 1092 additions and 4 deletions

View File

@ -0,0 +1,15 @@
FROM scratch
ADD docker/alpine/alpine-minirootfs-3.21.2-x86_64.tar.gz /
LABEL version="0.1"
LABEL maintainer="KeyZox"
RUN apk update \
&& apk add redis
RUN echo "maxmemory 256mb" >> /etc/redis.conf \
&& echo "maxmemory-policy allkeys-lru" >> /etc/redis.conf \
&& sed -i -r "s/bind 127.0.0.1//" /etc/redis.conf
EXPOSE 6379
CMD [ "redis-server", "--protected-mode", "no"]