eden-api-gateway/example_block/redis/Dockerfile
2023-03-19 02:02:46 -06:00

13 lines
267 B
Docker

# 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"]