Dockerfile.local 558 B

1234567891011121314151617181920212223242526272829
  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. # volume server grpc port
  8. EXPOSE 18080
  9. # volume server http port
  10. EXPOSE 8080
  11. # filer server grpc port
  12. EXPOSE 18888
  13. # filer server http port
  14. EXPOSE 8888
  15. # master server shared grpc port
  16. EXPOSE 19333
  17. # master server shared http port
  18. EXPOSE 9333
  19. # s3 server http port
  20. EXPOSE 8333
  21. RUN mkdir -p /data/filerldb2
  22. VOLUME /data
  23. RUN chmod +x /entrypoint.sh
  24. ENTRYPOINT ["/entrypoint.sh"]