You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
578 B

  1. FROM ubuntu:22.04
  2. LABEL author="Chris Lu"
  3. RUN apt-get update && apt-get install -y curl fio fuse
  4. RUN mkdir -p /etc/seaweedfs /data/filerldb2
  5. COPY ./weed /usr/bin/
  6. COPY ./filer.toml /etc/seaweedfs/filer.toml
  7. COPY ./entrypoint.sh /entrypoint.sh
  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. VOLUME /data
  21. WORKDIR /data
  22. RUN chmod +x /entrypoint.sh
  23. ENTRYPOINT ["/entrypoint.sh"]