Fix
This commit is contained in:
parent
f89cb6dc34
commit
a31afea620
|
@ -7,7 +7,6 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||
WORKDIR /app
|
||||
# copy the content of the local directory to the working directory
|
||||
COPY . .
|
||||
WORKDIR /app
|
||||
|
||||
# Install pre-requisites
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get clean
|
||||
|
|
|
@ -5,6 +5,6 @@ services:
|
|||
image: nim_raft_node
|
||||
restart: always
|
||||
volumes:
|
||||
- ./config.json:/app/config.json
|
||||
- ./raft_node_config.json:/app/raft_node_config.json
|
||||
|
||||
# You get the idea. To run the image N times with possibly different configs
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
import ../raft
|
||||
import basic_state_machine
|
||||
|
||||
|
||||
if isMainModule:
|
||||
var node = RaftNode[SmCommand, SmState].new()
|
Loading…
Reference in New Issue