Build Dockerfile locally as discussed in #32
This commit is contained in:
parent
572a70bbed
commit
2c7303a561
|
@ -4,7 +4,7 @@ WORKDIR /app
|
|||
|
||||
ENV BUILD_LIST git
|
||||
|
||||
COPY blockchain.py Pipfile /app/
|
||||
COPY Pipfile /app
|
||||
|
||||
RUN apk add --update $BUILD_LIST \
|
||||
&& pip install pipenv \
|
||||
|
@ -13,6 +13,8 @@ RUN apk add --update $BUILD_LIST \
|
|||
&& apk del $BUILD_LIST \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY blockchain.py /app
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
ENTRYPOINT [ "pipenv", "run", "python", "/app/blockchain.py", "--port", "5000" ]
|
||||
|
|
Loading…
Reference in New Issue