diff --git a/Dockerfile b/Dockerfile index 958b3ba..420b0e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.3 +FROM alpine:3.10.2 LABEL maintainer="Peter Evans " LABEL repository="https://github.com/peter-evans/create-pull-request" @@ -11,8 +11,10 @@ LABEL com.github.actions.color="gray-dark" COPY LICENSE README.md / +RUN apk add python3-dev git git-lfs + COPY requirements.txt /tmp/ -RUN pip install --requirement /tmp/requirements.txt +RUN pip3 install --requirement /tmp/requirements.txt COPY create-pull-request.py /create-pull-request.py -ENTRYPOINT [ "/create-pull-request.py" ] \ No newline at end of file +ENTRYPOINT [ "/create-pull-request.py" ] diff --git a/requirements.txt b/requirements.txt index 4856e03..85ad43c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ GitPython==3.0.2 -PyGithub==1.43.8 \ No newline at end of file +PyGithub==1.43.8