From 3bbf6d316d3dd6c8cd9ab4d3de8184d000203ef2 Mon Sep 17 00:00:00 2001 From: Daniel Porzucek Date: Fri, 29 Mar 2024 14:54:54 +0100 Subject: [PATCH] changed dockerfile again --- Dockerfile | 4 ++-- scripts/entrypoint.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 scripts/entrypoint.sh diff --git a/Dockerfile b/Dockerfile index b3417bd..925eb54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,6 @@ RUN pip install --no-cache-dir -r requirements.txt COPY Data_download.ipynb ./ -RUN jupyter execute Data_download.ipynb +COPY --chmod=755 /scripts /scripts -ENTRYPOINT "/bin/bash" +ENTRYPOINT ["/scripts/entrypoint.sh"] diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh new file mode 100644 index 0000000..519a734 --- /dev/null +++ b/scripts/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/bash +jupyter execute Data_download.ipynb +/bin/bash