Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pourmand1376 committed Jan 9, 2024
1 parent a0061c1 commit dd12c0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-slim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
tag: "slim"

# Push to the registry
- run: docker image push amirpourmand/jupyter-docker-conda:latest
- run: docker image push amirpourmand/jupyter-docker-conda:slim
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Jupyter-Docker-Conda

[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![Slim Docker Image Size(tag)](https://img.shields.io/docker/image-size/amirpourmand/jupyter-docker-conda/slim)
![Docker Image Size (tag)](https://img.shields.io/docker/image-size/amirpourmand/jupyter-docker-conda/latest)
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/pourmand1376/Jupyter-Docker-Conda/deploy-image.yaml)

Expand All @@ -21,17 +22,18 @@ docker run -d \
-p 10000:8888 \
-v "$(pwd)":/home/user/app \
--name my_jupyter_container \
amirpourmand/jupyter-docker-conda
amirpourmand/jupyter-docker-conda:slim
```

or to run it always in the startup:

```
docker run -d \
-p 10000:8888 \
-v "$(pwd)":/home/user/app \
--name my_jupyter_container \
--restart unless-stopped \
amirpourmand/jupyter-docker-conda
amirpourmand/jupyter-docker-conda:slim
```

This command will map your current working directory into the Docker container. For added security, consider creating an empty folder called jupyter or another suitable name.
Expand Down

0 comments on commit dd12c0e

Please sign in to comment.