ghfs / Dockerfile
jesonouyang's picture
Update Dockerfile
c3bf05a verified
FROM alpine:latest
RUN apk update \
&& apk add --no-cache \
wget \
unzip \
&& wget https://github.com/mjpclab/go-http-file-server/releases/download/v1.18.1/ghfs-1.18.1-linux-amd64.zip \
&& unzip ghfs-1.18.1-linux-amd64.zip \
&& ls -alh \
&& rm -rf ghfs-1.18.1-linux-amd64.zip \
&& chmod +x ghfs
RUN mkdir -p /f/data
CMD ["./ghfs", "-l", "8080", "-r", "/f", "-u", "/data"]