github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/contrib/Dockerfile (about) 1 # This file is used to add the nightly Dgraph binaries and assets to Dgraph base 2 # image. 3 4 # This gets built as part of release.sh. Must be run from /tmp/build, with the linux binaries 5 # already built and placed there. 6 7 FROM ubuntu:latest 8 MAINTAINER Dgraph Labs <contact@dgraph.io> 9 10 RUN apt-get update && \ 11 apt-get install -y --no-install-recommends ca-certificates curl iputils-ping && \ 12 rm -rf /var/lib/apt/lists/* 13 14 ADD linux /usr/local/bin 15 16 EXPOSE 8080 17 EXPOSE 9080 18 19 RUN mkdir /dgraph 20 WORKDIR /dgraph 21 22 CMD ["dgraph"] # Shows the dgraph version and commands available.