init
This commit is contained in:
13
Dockerfile_Redis
Normal file
13
Dockerfile_Redis
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM alpine:latest
|
||||
RUN apk update && apk upgrade
|
||||
RUN apk add bash
|
||||
RUN apk add autoconf
|
||||
RUN apk add automake
|
||||
RUN apk add make
|
||||
RUN apk add gcc
|
||||
RUN apk add g++
|
||||
RUN apk add redis
|
||||
COPY redis/redis.conf /etc/redis.conf
|
||||
EXPOSE 6379
|
||||
STOPSIGNAL SIGTERM
|
||||
CMD ["/bin/bash", "-c", "redis-server /etc/redis.conf"]
|
Reference in New Issue
Block a user