collection.dockerfile/alpine/valkey/Dockerfile

9 lines
287 B
Docker
Raw Normal View History

2024-09-24 19:49:15 +08:00
FROM alpine:latest
LABEL description="Valkey server"
LABEL maintainer="racken@one27.cf"
ENV container docker
RUN apk add bash tini valkey valkey-cli
COPY valkey.conf /etc/valkey/valkey.conf
USER valkey
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/valkey-server", "/etc/valkey/valkey.conf"]