1- # Docker Setup for Shapeful
1+ # Docker Setup for DimWit
22
3- This directory contains Docker configuration for running the Shapeful project with NVIDIA GPU support, Python, and JAX.
3+ This directory contains Docker configuration for running the DimWit project with NVIDIA GPU support, Python, and JAX.
44
55## Prerequisites
66
@@ -30,7 +30,7 @@ This directory contains Docker configuration for running the Shapeful project wi
3030
31312 . ** Access the container:**
3232 ``` bash
33- docker-compose exec shapeful bash
33+ docker-compose exec dimwit bash
3434 ```
3535
36363 . ** Stop the container:**
@@ -42,7 +42,7 @@ This directory contains Docker configuration for running the Shapeful project wi
4242
43431 . ** Build the GPU image:**
4444 ``` bash
45- docker build -t shapeful :latest .
45+ docker build -t dimwit :latest .
4646 ```
4747
48482 . ** Run the container:**
@@ -52,7 +52,7 @@ This directory contains Docker configuration for running the Shapeful project wi
5252 -v sbt-cache:/root/.sbt \
5353 -v ivy-cache:/root/.ivy2 \
5454 -p 8888:8888 \
55- shapeful :latest
55+ dimwit :latest
5656 ```
5757
5858## Verify GPU Access
@@ -168,7 +168,7 @@ Add more ports in `docker-compose.yml` as required.
168168
169169# # CI/CD Images
170170
171- Shapeful provides two separate Dockerfiles :
171+ dimwit provides two separate Dockerfiles :
172172- **Dockerfile** - GPU development image with NVIDIA JAX (~8 GB)
173173- **Dockerfile.ci** - CPU-only CI/CD image with JAX CPU (~2-3 GB)
174174
@@ -186,7 +186,7 @@ The CPU variant is optimized for CI/CD pipelines, eliminating GPU dependencies w
186186The CI image is automatically built and published to GitHub Container Registry :
187187
188188` ` `
189- ghcr.io/marcelluethi/shapeful -ci:latest
189+ ghcr.io/marcelluethi/dimwit -ci:latest
190190` ` `
191191
192192Available tags :
@@ -199,16 +199,16 @@ Pull and run the CI image for local testing:
199199
200200` ` ` bash
201201# Pull the image
202- docker pull ghcr.io/marcelluethi/shapeful -ci:latest
202+ docker pull ghcr.io/marcelluethi/dimwit -ci:latest
203203
204204# Run compilation
205- docker run --rm -v $(pwd):/workspace ghcr.io/marcelluethi/shapeful -ci:latest sbt compile
205+ docker run --rm -v $(pwd):/workspace ghcr.io/marcelluethi/dimwit -ci:latest sbt compile
206206
207207# Interactive shell
208- docker run --rm -it -v $(pwd):/workspace ghcr.io/marcelluethi/shapeful -ci:latest bash
208+ docker run --rm -it -v $(pwd):/workspace ghcr.io/marcelluethi/dimwit -ci:latest bash
209209
210210# Or build locally
211- docker build -f Dockerfile.ci -t shapeful -ci .
211+ docker build -f Dockerfile.ci -t dimwit -ci .
212212` ` `
213213
214214# ## Automated Workflows
@@ -268,8 +268,8 @@ Runs on every push and pull request:
268268
269269| Variant | Command | Size | Use Case |
270270|---------|---------|------|----------|
271- | GPU Dev | `docker build -t shapeful .` | ~8 GB | Local development with GPU |
272- | CPU CI | `docker build -f Dockerfile.ci -t shapeful -ci .` | ~2-3 GB | CI/CD pipelines |
271+ | GPU Dev | `docker build -t dimwit .` | ~8 GB | Local development with GPU |
272+ | CPU CI | `docker build -f Dockerfile.ci -t dimwit -ci .` | ~2-3 GB | CI/CD pipelines |
273273
274274# ## Rebuilding the CI Image
275275
@@ -283,8 +283,8 @@ When dependencies need updates (e.g., new JAX version, Python upgrade):
2832833. **Wait for build completion** (~10-15 minutes)
2842844. **Verify the update** :
285285 ` ` ` bash
286- docker pull ghcr.io/marcelluethi/shapeful -ci:latest
287- docker run --rm ghcr.io/marcelluethi/shapeful -ci:latest pip list | grep jax
286+ docker pull ghcr.io/marcelluethi/dimwit -ci:latest
287+ docker run --rm ghcr.io/marcelluethi/dimwit -ci:latest pip list | grep jax
288288 ` ` `
289289
290290# ## Troubleshooting CI
0 commit comments