FROM redis:latest # Copy any custom configuration if needed # COPY redis.conf /usr/local/etc/redis/redis.conf # Use the default Redis configuration with persistence enabled CMD ["redis-server", "--appendonly", "yes"]