Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hannah98 authored Oct 3, 2017
1 parent d301492 commit c8957b0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM python:3-alpine

WORKDIR /app

ENV BUILD_LIST git

RUN apk add --update $BUILD_LIST \
&& git clone https://github.com/dvf/blockchain.git /app \
&& pip install pipenv \
&& pipenv --python=python3.6 \
&& pipenv install \
&& apk del $BUILD_LIST \
&& rm -rf /var/cache/apk/*

EXPOSE 5000

ENTRYPOINT [ "pipenv", "run", "python", "/app/blockchain.py", "--port", "5000" ]

0 comments on commit c8957b0

Please sign in to comment.