Build Dockerfile using local code instead of pulling the GitHub repo

This commit is contained in:
Florian Schäfer 2017-10-28 13:27:49 +02:00
parent f03d28f8ad
commit 572a70bbed
1 changed files with 2 additions and 1 deletions

View File

@ -4,8 +4,9 @@ WORKDIR /app
ENV BUILD_LIST git
COPY blockchain.py Pipfile /app/
RUN apk add --update $BUILD_LIST \
&& git clone https://github.com/dvf/blockchain.git /app \
&& pip install pipenv \
&& pipenv --python=python3.6 \
&& pipenv install \