From 720fed9a09f5c12bb6394dccc469b77ab19cecd1 Mon Sep 17 00:00:00 2001 From: NERDDISCO <492378+TimPietrusky@users.noreply.github.com> Date: Wed, 23 Jul 2025 11:20:24 +0200 Subject: [PATCH] fix: update docker build and dependencies - Add missing files to Docker image (test_input.json, builder.py) - Update runpod package to 1.7.13 - Add .dockerignore for optimized builds --- .dockerignore | 3 +++ Dockerfile | 4 +++- requirements.txt | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ea7761d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.git +.gitignore +README.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index c670f4e..85ff38f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,10 @@ FROM python:3.10-slim WORKDIR / COPY requirements.txt /requirements.txt -RUN pip install -r requirements.txt +RUN pip install --no-cache-dir -r requirements.txt COPY rp_handler.py / +COPY builder.py / +COPY test_input.json / # Start the container CMD ["python3", "-u", "rp_handler.py"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index c27d355..5021d0b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -runpod==1.7.12 +runpod==1.7.13 \ No newline at end of file