Skip to content

Commit 0bd087a

Browse files
author
gregorgololicic
committed
added docker
1 parent 97ea427 commit 0bd087a

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM golang:1.12.0-alpine3.9
2+
3+
RUN mkdir /app
4+
5+
ADD . /app
6+
WORKDIR /app
7+
8+
RUN go build -o main .
9+
10+
CMD ["/app/main"]

Readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,11 @@ Flow CLI is a command line tool to interact with flow emulator and query data.
2727

2828
# Instalation
2929

30-
Download a binary for your OS at the [releases page](https://github.com/sideninja/flow-cli).
30+
Download a binary for your OS at the [releases page](https://github.com/sideninja/flow-cli).
31+
32+
## Docker
33+
You can use Docker to build and run the image. Be careful docker container can access the network of Flow Emulator. Create a shared network or use host if needed.
34+
```bash
35+
docker build -t flow .
36+
docker run -it flow
37+
```

flow-cli

21 MB
Binary file not shown.

0 commit comments

Comments
 (0)