fsrv: Dockerfile for this fileserver
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
efea5fac3d
commit
bd8bf1e272
|
@ -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" ]
|
Loading…
Reference in New Issue