O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

simple-server/Dockerfile

Let's use Dockerfile to create a simple file server:

FROM golang:1.10 
 
ADD . /go/src/littlefs 
 
WORKDIR /go/src/littlefs 
 
RUN go install littlefs 
 
ENTRYPOINT /go/bin/littlefs

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required