diff --git a/Dockerfile b/Dockerfile index ae8165d..419173d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ FROM python:3.7.8-slim +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get install -y git + COPY main.py entrypoint.sh requirements.txt / ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index 354ad6b..6fd0f05 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash set -e -sudo apt install -y git + python -m pip install --upgrade pip setuptools wheel pip install -r /requirements.txt