mirror of
https://github.com/vbatts/utils.git
synced 2024-12-04 22:45:42 +00:00
8 lines
188 B
Docker
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" ]
|