1
0
Fork 0
mirror of https://github.com/vbatts/freezing-octo-hipster.git synced 2024-11-22 23:15:39 +00:00
random-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" ]