Dockerfile 331 B

12345678
  1. FROM debian:latest
  2. LABEL maintainer="[email protected]"
  3. RUN apt-get update && apt-get install -y curl python3-requests python3-pygments
  4. RUN curl https://raw.githubusercontent.com/drakkan/sftpgo/master/scripts/sftpgo_api_cli.py --output /usr/bin/sftpgo_api_cli.py
  5. ENTRYPOINT ["python3", "/usr/bin/sftpgo_api_cli.py" ]
  6. CMD []