DevOps/Docker/Dockerfile

9 lines
224 B
Docker

# Use an existing docker image as a base
FROM alpine
# Download and install a dependency
RUN apk add --update redis
RUN apk add --update gcc
# Tell the image what to do whenn it starts as a container
CMD [ "redis-server" ]