# Use the official Redis image as the base image FROM redis:latest # Expose Redis port EXPOSE 7860 # Set Redis configuration (optional) COPY redis.conf /usr/local/etc/redis/redis.conf CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]