Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 633 Bytes
FROM microsoft/dotnet:2.2-sdk AS build
COPY . .
RUN git -c submodule."src/tests".update=none submodule update --init
RUN cd src/Nethermind/Nethermind.Runner && dotnet publish -c release -o out
FROM microsoft/dotnet:2.2-aspnetcore-runtime
RUN apt-get update && apt-get -y install libsnappy-dev libc6-dev libc6 unzip
WORKDIR /nethermind
COPY --from=build /src/Nethermind/Nethermind.Runner/out .
ENV ASPNETCORE_ENVIRONMENT docker
ENV NETHERMIND_CONFIG mainnet
ENV NETHERMIND_DETACHED_MODE true
ENV NETHERMIND_INITCONFIG_JSONRPCENABLED false
ENV NETHERMIND_URL http://*:8345
EXPOSE 8345 30312
ENTRYPOINT dotnet Nethermind.Runner.dll
You can’t perform that action at this time.