File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN go mod download
8
8
9
9
COPY /node-registrar .
10
10
11
- RUN go build -o server ./cmds/registrar .go
11
+ RUN go build -o server ./cmds/main .go
12
12
13
13
FROM alpine:3.21
14
14
Original file line number Diff line number Diff line change 1
1
run :
2
- go run cmds/registrar .go --postgres-host localhost --postgres-port 5432 --postgres-db postgres --postgres-user postgres --postgres-password password --domain localhost --server-port 8080
2
+ go run cmds/main .go --postgres-host localhost --postgres-port 5432 --postgres-db postgres --postgres-user postgres --postgres-password password --domain localhost --server-port 8080
3
3
4
4
postgres :
5
5
docker run --name postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=postgres -p 5432:5432 -d postgres
@@ -8,10 +8,10 @@ stop-postgres:
8
8
docker stop postgres && docker rm postgres
9
9
10
10
build : # # Bulil the server
11
- go build -o bin/server cmds/registrar .go
11
+ go build -o bin/server cmds/main .go
12
12
13
13
server-start :
14
- @go run cmds/registrar .go \
14
+ @go run cmds/main .go \
15
15
--server-port 8080 \
16
16
--debug \
17
17
--domain localhost \
You can’t perform that action at this time.
0 commit comments