Dockerfile 442 B

123456789101112131415161718
  1. FROM rethinkdb:latest
  2. LABEL maintainer="Cristian Mello <cristianc.mello@gmail.com>"
  3. VOLUME /data/rethinkdb_data
  4. #Necessary for the backup rethinkdb
  5. RUN apt-get -y update \
  6. && apt-get -y upgrade \
  7. && apt-get -y install python-pip \
  8. && pip install rethinkdb \
  9. && rm -rf /var/lib/apt/lists/*
  10. RUN cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
  11. CMD ["rethinkdb", "--bind", "all"]
  12. EXPOSE 8080