eden-api-gateway/example_block/redis/Dockerfile

13 lines
267 B
Docker
Raw Normal View History

2023-03-19 08:02:46 +00:00
# Use an official Redis image as a parent image
FROM redis:latest
# Set the working directory to /data
WORKDIR /data
# Expose Redis port
EXPOSE 6379
# Run Redis server as daemon
#CMD ["redis-server", "--daemonize", "yes"]
CMD ["redis-server", "--daemonize", "no"]