diff --git a/Dockerfile b/Dockerfile index 9ee9642..0cc25be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM python:2-alpine +FROM python:3-alpine COPY ./requirements.txt /app/requirements.txt WORKDIR /app -RUN apk --update add python py-pip openssl ca-certificates py-openssl wget bash linux-headers -RUN apk --update add --virtual build-dependencies libffi-dev openssl-dev python-dev py-pip build-base \ +RUN apk --update add python3 py-pip openssl ca-certificates py-openssl wget bash linux-headers +RUN apk --update add --virtual build-dependencies libffi-dev openssl-dev python3-dev py-pip build-base \ && pip install --upgrade pip \ && pip install --upgrade pipenv\ && pip install --upgrade -r /app/requirements.txt\ @@ -15,4 +15,4 @@ COPY . /app ENTRYPOINT [ "python" ] -CMD [ "hello.py" ] \ No newline at end of file +CMD [ "hello.py" ] diff --git a/requirements.txt b/requirements.txt index ec1a4e8..01ceb56 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ Flask>=1.0.0 -cloudant==2.13.0 +cloudant==2.14.0