diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..984ae86 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM python:3.8-slim-buster +WORKDIR /code +COPY . /code/ +RUN pip3 install -r requirements.txt +ENTRYPOINT [ "/code/scripts/start.sh" ] diff --git a/scripts/start.sh b/scripts/start.sh index 2ac42f1..e591bef 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,3 +1,5 @@ +#!/bin/bash + git pull python3 -m venv venv source venv/bin/activate