mirror of
https://github.com/vbatts/utils.git
synced 2024-12-04 14:35:41 +00:00
fsrv: Dockerfile for this fileserver
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
efea5fac3d
commit
bd8bf1e272
1 changed files with 8 additions and 0 deletions
8
cmd/fsrv/Dockerfile
Normal file
8
cmd/fsrv/Dockerfile
Normal 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" ]
|
Loading…
Reference in a new issue