FROM redis:3-alpine

WORKDIR /home/quantgroups/redis
COPY confs/redis-6379.conf ./conf/
COPY start-6379.sh .
RUN mkdir /var/log/redis \
  && mkdir /var/lib/redis \
  && mkdir /var/run/redis

EXPOSE 6379

CMD ./start-6379.sh
