mirror of https://github.com/nucypher/nucypher.git
Add Dockerfile for demo build
parent
401cf6aa2f
commit
b6cc0d991c
|
@ -0,0 +1,20 @@
|
|||
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"]
|
|
@ -0,0 +1,9 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
nucypher:
|
||||
container_name: nucypher-prometheus
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: docker/Dockerfile
|
||||
image: nucypher-prometheus
|
Loading…
Reference in New Issue