Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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\
Expand All @@ -15,4 +15,4 @@ COPY . /app

ENTRYPOINT [ "python" ]

CMD [ "hello.py" ]
CMD [ "hello.py" ]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Flask>=1.0.0
cloudant==2.13.0
cloudant==2.14.0