Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .dockerignore

This file was deleted.

34 changes: 0 additions & 34 deletions .github/Dockerfile

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/docker.yml

This file was deleted.

23 changes: 1 addition & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Publications describing [ando-lab/mdx2](https://github.com/ando-lab/mdx2):

### Prerequisites

For a conda-based installation, you'll need [micromamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html) or equivalent. The Docker-based installation requires you to install and login to [Docker](https://www.docker.com/get-started/).
For a conda-based installation, you'll need [micromamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html) or equivalent.

### User install (conda environment)

Expand All @@ -71,24 +71,3 @@ pip install -e ".[dev]"
```

The last line installs mdx2 in editable mode, with optional development tools including pytest and ruff

### Developer Install (Docker container)

Pull image from Docker Hub and run the container. Search the Docker container logs for the localhost address to access mdx2 within a Jupyter Lab notebook or terminal.

- Docker image exposes ports 8880-8890 (default: 8888)
- Platform: linux/amd64
```bash
git clone https://github.com/diff-use/mdx2.git
cd mdx2
docker pull diffuseproject/mdx2:1.0.0
docker run --platform linux/amd64 --name mdx2_container -it -d -e JUPYTER_PORT={CONTAINER_PORT} -p {HOST_PORT}:{CONTAINER_PORT} -v "$(pwd)":/home/dev diffuseproject/mdx2:1.0.0
docker logs mdx2_container
```

(Optional) Open a shell in the running container:
```bash
docker exec -it mdx2_container /bin/bash
eval "$(micromamba shell hook --shell bash)"
micromamba activate 'mdx2-dev'
```