Skip to content

Commit

Permalink
entrypoint.sh added
Browse files Browse the repository at this point in the history
  • Loading branch information
milindsingh committed Mar 14, 2021
1 parent 09e4962 commit 888372b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ RUN echo $(ls ./src)

RUN echo $(python --version)

ENTRYPOINT ["pipenv", "run", "python", "-m", "src.index"]
#ENTRYPOINT ["pipenv", "run", "python", "-m", "src.index"]
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

cd /root
ls ./
pipenv run python -m src.index

0 comments on commit 888372b

Please sign in to comment.