Dockerfile.local 681 B

12345678910111213141516171819202122232425262728293031323334
  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. RUN apk add curl # for health checks
  9. # volume server grpc port
  10. EXPOSE 18080
  11. # volume server http port
  12. EXPOSE 8080
  13. # filer server grpc port
  14. EXPOSE 18888
  15. # filer server http port
  16. EXPOSE 8888
  17. # master server shared grpc port
  18. EXPOSE 19333
  19. # master server shared http port
  20. EXPOSE 9333
  21. # s3 server http port
  22. EXPOSE 8333
  23. # webdav server http port
  24. EXPOSE 7333
  25. RUN mkdir -p /data/filerldb2
  26. VOLUME /data
  27. WORKDIR /data
  28. RUN chmod +x /entrypoint.sh
  29. ENTRYPOINT ["/entrypoint.sh"]