vetiver.write_docker#

vetiver.write_docker(app_file: str = 'app.py', path: str = './', rspm_env: bool = False, host: str = '0.0.0.0', port: str = '8080')#

Writes a Dockerfile to run VetiverAPI in a container

Parameters
  • app_file (str) – File containing VetiverAPI to be deployed into container

  • path (str) – Path to save Dockerfile

  • rspm_env (bool) – Whether or not RStudio Package Manager should be used

  • host (str) – Host address to run VetiverAPI from Dockerfile

  • port (str) – Port to run VetiverAPI from Dockerfile