nucypher/deploy/docker/Dockerfile

21 lines
426 B
Docker
Raw Normal View History

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
# Install pipenv
RUN pip3 install pipenv
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Run pipenv
RUN pipenv install --dev --python python3.7 --skip-lock --verbose
RUN pipenv run ./scripts/install_solc.sh
CMD ["/bin/bash"]