Skip to content

amnahsiddiqa/datascience_jupyter_as

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datascience_jupyter_as

Test repo for autobuilding dockers

Build image Using Docker Compose

$ cd path/to/directory_containing_yaml_and_Dockerfile
# Build:
$ docker-compose build
# Start:
$ docker-compose up
# Stop:
$ docker-compose down
# where the Dockerfile is the current Docker image for running the analyses, and yaml is the configuration file.
# Alternatively, you can use a single command: docker-compose up --build

push to docker repo

  • Create a repo on Docker Hub.
  • Tag your existing image using the Docker Hub username and repo name: docker tag existing-image hub-user/repo-name[:tag].
  • Now you can push this repository to the registry designated by its name or tag: docker push hub-user/repo-name:tag.
  • The public URL to the Docker image is: docker.io/username/repoName:tag.

Link docker to github and autobuild

follow the docs here: 1 and this 2

my build rule looks like this: Screenshot 2023-09-09 at 8 51 50 AM

  • created Github actions yaml workflow file from template and populated it with my repo/image name
  • added secret keys to git repo for docker credetials

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published