From e13601e9633e5841cd41de0b88e03305dc835aca Mon Sep 17 00:00:00 2001 From: Guillaume Rochette Date: Tue, 19 Dec 2023 22:30:20 +0000 Subject: [PATCH] Updated README.md --- README.md | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9fe8b57..3148bca 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ We recommend using the Docker image for compatibility. 4. Run the latest image: ```bash docker run \ - --user $(id -u):$(id -g) + --user $(id -u):$(id -g) \ --gpus all \ - --volume /path/to/data:/path/to/data - --interactive - --tty + --mount type=bind,source=/path/to/data,target=/path/to/data \ + --interactive \ + --tty \ guillaumerochette/psifx:latest ``` 5. Check out and run `psifx` available commands! @@ -73,3 +73,21 @@ We recommend using the Docker image for compatibility. ``` ## Usage + +## Development + +### Variables + +```bash +export VERSION="0.0.1" +export HF_TOKEN="write-your-hf-token-here" +``` + +### Build + +```bash +docker buildx build \ + --build-arg VERSION=$VERSION \ + --build-arg HF_TOKEN=$HF_TOKEN \ + --tag "psifx:$VERSION" . +```