diff --git a/Dockerfile b/Dockerfile index dac55af..dbddcc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,6 @@ RUN echo $(ls ./src) RUN echo $(python --version) -ENTRYPOINT ["pipenv", "run", "python", "-m", "src.index"] \ No newline at end of file +#ENTRYPOINT ["pipenv", "run", "python", "-m", "src.index"] +COPY entrypoint.sh /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 0000000..fffa610 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cd /root +ls ./ +pipenv run python -m src.index \ No newline at end of file