Dockerfile.local 644 B

123456789101112131415161718192021222324252627282930313233
  1. FROM alpine AS final
  2. LABEL author="Chris Lu"
  3. COPY ./weed /usr/bin/
  4. RUN mkdir -p /etc/seaweedfs
  5. COPY ./filer.toml /etc/seaweedfs/filer.toml
  6. COPY ./entrypoint.sh /entrypoint.sh
  7. RUN apk add fuse # for weed mount
  8. # volume server grpc port
  9. EXPOSE 18080
  10. # volume server http port
  11. EXPOSE 8080
  12. # filer server grpc port
  13. EXPOSE 18888
  14. # filer server http port
  15. EXPOSE 8888
  16. # master server shared grpc port
  17. EXPOSE 19333
  18. # master server shared http port
  19. EXPOSE 9333
  20. # s3 server http port
  21. EXPOSE 8333
  22. # webdav server http port
  23. EXPOSE 7333
  24. RUN mkdir -p /data/filerldb2
  25. VOLUME /data
  26. WORKDIR /data
  27. RUN chmod +x /entrypoint.sh
  28. ENTRYPOINT ["/entrypoint.sh"]