From bd8bf1e27208b7a3dcabe93024b767ab2ec5ece2 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 11 Sep 2019 12:37:43 -0400 Subject: [PATCH] fsrv: Dockerfile for this fileserver Signed-off-by: Vincent Batts --- cmd/fsrv/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cmd/fsrv/Dockerfile diff --git a/cmd/fsrv/Dockerfile b/cmd/fsrv/Dockerfile new file mode 100644 index 0000000..0eefa9a --- /dev/null +++ b/cmd/fsrv/Dockerfile @@ -0,0 +1,8 @@ +FROM golang +WORKDIR /go/src/github.com/vbatts/utils/cmd/fsrv +COPY . . +RUN go get -d -v ./... +RUN go install -v ./... +RUN mkdir /data +EXPOSE 8888 +CMD ["fsrv", "-root=/data", "-b=0.0.0.0" ]