Skip to content

Commit a5bfed5

Browse files
committed
fix: updated base
1 parent e6067c2 commit a5bfed5

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Base image -> https://github.com/runpod/containers/blob/main/official-templates/base/Dockerfile
2-
FROM runpod/base:0.3.1-cuda11.8.0
2+
# DockerHub -> https://hub.docker.com/r/runpod/base/tags
3+
FROM runpod/base:0.4.0-cuda11.8.0
34

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

89

9-
# Optional: System dependencies
10+
# --- Optional: System dependencies ---
1011
# COPY builder/setup.sh /setup.sh
1112
# RUN /bin/bash /setup.sh && \
1213
# rm /setup.sh

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ The `CD-docker_dev.yml` file will build the image and push it to the `dev` tag,
5252

5353
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.
5454

55+
## Example Input
56+
57+
```json
58+
{
59+
"input": {
60+
"name": "John Doe"
61+
}
62+
}
63+
```
64+
5565
## 💡 | Best Practices
5666

5767
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.

0 commit comments

Comments
 (0)