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