From 5055342e6b425c37e7dd015ca78e4f3fbac2772b Mon Sep 17 00:00:00 2001 From: Liana Date: Tue, 3 Dec 2024 00:05:08 -0600 Subject: [PATCH] Add Boltz --- apps/boltz/Dockerfile | 3 +++ apps/boltz/README.md | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/boltz/Dockerfile b/apps/boltz/Dockerfile index 4b446a7..fe7494a 100644 --- a/apps/boltz/Dockerfile +++ b/apps/boltz/Dockerfile @@ -64,6 +64,7 @@ RUN \ && rm -rf /root/.cache /var/lib/apt/lists/* /tmp/* /var/tmp/* COPY --chown=${UID}:${GID} ./apps/boltz/entrypoint.sh /entrypoint.sh +RUN chmod -R 755 /entrypoint.sh USER ${USERNAME} WORKDIR /cache @@ -72,4 +73,6 @@ VOLUME ["/cache"] WORKDIR /data VOLUME ["/data"] +WORKDIR /app + ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"] diff --git a/apps/boltz/README.md b/apps/boltz/README.md index 1d98c38..d3dc645 100644 --- a/apps/boltz/README.md +++ b/apps/boltz/README.md @@ -14,10 +14,9 @@ You can configure the docker image using the below environment variables | Environment Variable | CLI Flag | Type | Default Value | Description | | ---------------------- | ------------------------ | -------------------- | --------------------------- | ------------------------------------------------------------------- | -| `SHELL` | N/A | `FLAG` | `False` | Start docker container as a shell | | `USERNAME` | N/A | `STR` | `rare` | Username for the container | -| `UID` | N/A | `INTEGER` | `900` | UID to use for the container | -| `GID` | N/A | `INTEGER` | `900` | GID to use for the container | +| `UID` | N/A | `INTEGER` | `900` | UID for the container | +| `GID` | N/A | `INTEGER` | `900` | GID for the container | | `DATA_PATH` | `--out_dir` | `PATH` | `/data` | The path where predictions will be saved. | | `CACHE_PATH` | `--cache` | `PATH` | `/cache` | The directory for downloading data and models. | | `DEVICE_TYPE` | `--accelerator` | `[gpu, cpu, tpu]` | `gpu` | The type of accelerator to use for predictions. |