2018-10-27 17:04:31 +00:00
|
|
|
FROM python:3.7.0-slim-stretch
|
|
|
|
|
|
|
|
# Update
|
|
|
|
RUN apt update -y && apt upgrade -y
|
|
|
|
RUN apt install gcc libffi-dev wget -y
|
|
|
|
|
|
|
|
# Set the working directory to /app
|
2018-12-14 16:09:45 +00:00
|
|
|
WORKDIR /code
|
2018-10-27 17:04:31 +00:00
|
|
|
|
|
|
|
# Copy the current directory contents into the container at /app
|
2018-12-14 16:09:45 +00:00
|
|
|
COPY . /code
|
2018-10-27 17:04:31 +00:00
|
|
|
|
|
|
|
# Run pipenv
|
2018-12-14 16:09:45 +00:00
|
|
|
RUN pip3 install .
|
2019-03-08 23:18:00 +00:00
|
|
|
RUN ./scripts/installation/install_solc.sh
|
2018-10-27 17:04:31 +00:00
|
|
|
|
|
|
|
CMD ["/bin/bash"]
|