How do I deploy Redis on Spaces

Hi guys,

I am woking on a search engine project and I wanna integrate Redis’s in memory database to my project. I tried deploying Redis using the Docker sdk so I used this following Dockerfile and it failed showed- “Failed to write PID file: Permission denied” you can check the files and logs also I disabled the snapshotting.

FROM redis
COPY redis.conf /usr/local/etc/redis/redis.conf
CMD [ “redis-server”, “/usr/local/etc/redis/redis.conf” ]

I had the same problem.