mirror of https://github.com/nucypher/nucypher.git
more efficient dockerfile
parent
1b74b145bc
commit
7584aea141
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue