utils/cmd/fsrv/Dockerfile
Vincent Batts bd8bf1e272
fsrv: Dockerfile for this fileserver
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-11 12:37:43 -04:00

8 lines
188 B
Docker

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" ]