Skip to content

Commit 7485d1b

Browse files
Lazy Ninalazynina
authored andcommitted
Update dockerfile for pos
1 parent 9349dae commit 7485d1b

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

Dockerfile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,21 @@ COPY postgres-data-handler/handler handler
2222
COPY postgres-data-handler/main.go .
2323

2424
# include core src
25-
COPY core/desohash ../core/desohash
26-
COPY core/cmd ../core/cmd
27-
COPY core/lib ../core/lib
28-
COPY core/migrate ../core/migrate
25+
COPY core/bls ../core/bls
26+
COPY core/cmd ../core/cmd
27+
COPY core/collections ../core/collections
28+
COPY core/consensus ../core/consensus
29+
COPY core/desohash ../core/desohash
30+
COPY core/lib ../core/lib
31+
COPY core/migrate ../core/migrate
32+
COPY core/scripts ../core/scripts
33+
34+
RUN ../core/scripts/install-relic.sh
2935

3036
RUN go mod tidy
3137

3238
## build postgres data handler backend
33-
RUN GOOS=linux go build -mod=mod -a -installsuffix cgo -o bin/postgres-data-handler main.go
39+
RUN GOOS=linux go build -mod=mod -a -installsuffix cgo -o bin/postgres-data-handler -tags=relic main.go
3440
#
3541
## create tiny image
3642
#FROM alpine:latest

0 commit comments

Comments
 (0)