Skip to content

Commit

Permalink
fix: updated base
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Nov 9, 2023
1 parent e6067c2 commit a5bfed5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Base image -> https://github.com/runpod/containers/blob/main/official-templates/base/Dockerfile
FROM runpod/base:0.3.1-cuda11.8.0
# DockerHub -> https://hub.docker.com/r/runpod/base/tags
FROM runpod/base:0.4.0-cuda11.8.0

# The base image comes with many system dependencies pre-installed to help you get started quickly.
# Please refer to the base image's Dockerfile for more information before adding additional dependencies.
# IMPORTANT: The base image overrides the default huggingface cache location.


# Optional: System dependencies
# --- Optional: System dependencies ---
# COPY builder/setup.sh /setup.sh
# RUN /bin/bash /setup.sh && \
# rm /setup.sh
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ The `CD-docker_dev.yml` file will build the image and push it to the `dev` tag,

The `CI-test_worker.yml` file will test the worker using the input provided by the `--test_input` argument when calling the file containing your handler. Be sure to update this workflow to install any dependencies you need to run your tests.

## Example Input

```json
{
"input": {
"name": "John Doe"
}
}
```

## 💡 | Best Practices

System dependency installation, model caching, and other shell tasks should be added to the `builder/setup.sh` this will allow you to easily setup your Dockerfile as well as run CI/CD tasks.
Expand Down

0 comments on commit a5bfed5

Please sign in to comment.