File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ rustCode/target
1111** /* .exe
1212
1313# Env & secrets
14- # .env
15- # **/.env
14+ .env
15+ ** /.env
1616# !goCode/.env
1717
1818# Docker
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ WORKDIR /app/goCode/goApp
1818ENV CGO_ENABLED=1
1919RUN go build -o app
2020
21-
2221# ----------------------------
2322FROM ubuntu:24.04
2423WORKDIR /app/goCode/goApp
@@ -36,8 +35,6 @@ COPY --from=go-builder \
3635 /app/goCode/libs/librpc.so \
3736 ../libs/librpc.so
3837
39- COPY goCode/.env ../.env
40-
4138ENV LD_LIBRARY_PATH=/app/goCode/libs
4239
4340CMD ["./app" ]
Original file line number Diff line number Diff line change 1+ services :
2+ app :
3+ build :
4+ context : .
5+ dockerfile : Dockerfile
6+ image : blockchain-ffi
7+ container_name : blockchain-ffi
8+ volumes :
9+ - ./goCode/.env:/app/goCode/.env
10+ # restart: unless-stopped
You can’t perform that action at this time.
0 commit comments