more efficient dockerfile

pull/826/head
Damon C 2019-03-28 12:44:47 -07:00
parent 1b74b145bc
commit 7584aea141
1 changed files with 4 additions and 2 deletions

View File

@ -6,14 +6,16 @@ RUN apt-get update -y && apt-get upgrade -y && apt-get install gcc libffi-dev wg
EXPOSE 11500
# add local files needed for install
RUN mkdir /code
WORKDIR /code
ADD . /code
ADD dev-requirements.txt /code/dev-requirements.txt
ADD ./scripts/installation/install_solc.sh /code/install_solc.sh
# install reqs and solc
RUN pip install --upgrade pip \
&& pip3 install -r dev-requirements.txt --src /usr/local/src \
&& ./scripts/installation/install_solc.sh
&& ./install_solc.sh
# finish install with some local volume ops
CMD ["./dev/docker/scripts/install/entrypoint.sh"]