Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jerowe committed Jan 25, 2023
1 parent 9f56f69 commit 1326bc7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jupyter_rstudio_singularity/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def sanity_check_singularity_image(remote_image: str, image: str):
return True


@app.command()
def main(
remote_image: str = typer.Option(
"docker://dabbleofdevops/r-tidyverse:4.2.2",
Expand Down Expand Up @@ -246,9 +245,7 @@ def main(
image = os.path.abspath(str(image))
remote_image = str(remote_image)
workdir = str(workdir)
remote_image = str(remote_image)
port = str(port)
image_dir = os.path.dirname(image)
os.makedirs(workdir, exist_ok=True)
url_prefix = os.environ.get("JUPYTERHUB_SERVICE_PREFIX", "/").rstrip("/")
url_prefix = f"{url_prefix}/proxy/{port}/"
Expand All @@ -265,4 +262,4 @@ def main(


if __name__ == "__main__":
sys.exit(main()) # pragma: no cover
typer.run(main()) # pragma: no cover

0 comments on commit 1326bc7

Please sign in to comment.