diff --git a/Dockerfile b/Dockerfile index a7c35ac..8f3df9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ]