You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
267 B
13 lines
267 B
2 years ago
|
# 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"]
|