Changed mockpool-node to nomos-node in Dockerfile (#212)

* Changed mockpool-node to nomos-node in Dockerfile

* Deleted old yml and copying correct one
This commit is contained in:
Alberto Soutullo 2023-06-21 12:02:56 +02:00 committed by GitHub
parent 4ccc19f5a3
commit 3f30bcc0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 20 deletions

View File

@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -yq \
WORKDIR /nomos
COPY . .
RUN cargo build --release -p mockpool-node
RUN cargo build --release -p nomos-node
# NODE IMAGE ----------------------------------------------------------
@ -29,7 +29,7 @@ LABEL description="Nomos node image"
# nomos default ports
EXPOSE 3000 8080 9000 60000
COPY --from=builder /nomos/target/release/mockpool-node /usr/bin/nomos-node
COPY config.yml.example /etc/nomos/config.yml
COPY --from=builder /nomos/target/release/nomos-node /usr/bin/nomos-node
COPY nodes/nomos-node/config.yaml /etc/nomos/config.yaml
ENTRYPOINT ["nomos-node"]

View File

@ -1,17 +0,0 @@
log:
backend: "Stdout"
format: "Json"
level: "debug"
network:
backend:
host: 0.0.0.0
port: 3000
log_level: "fatal"
nodeKey: null
discV5BootstrapNodes: []
initial_peers: []
relayTopics: []
http:
backend:
address: 0.0.0.0:8080
cors_origins: []