redis / Dockerfile
Fuegovic's picture
Update Dockerfile
0a33676
raw
history blame
250 Bytes
# Use the official Redis image as a base
FROM redis
# Set the overcommit memory to 1
RUN sysctl -w vm.overcommit_memory=1
# Expose the default Redis port
EXPOSE 6379
# Run the Redis server with the --no-thp option
CMD ["redis-server", "--no-thp"]