1
0
Fork 0
mirror of https://github.com/vbatts/freezing-octo-hipster.git synced 2024-11-28 17:45:40 +00:00

fsrv: Dockerfile for this fileserver

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2019-09-11 12:37:43 -04:00
parent efea5fac3d
commit bd8bf1e272
Signed by: vbatts
GPG key ID: 10937E57733F1362

8
cmd/fsrv/Dockerfile Normal file
View file

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