Build app in Dockerfile
This change makes it simpler and more convenient to build the app.
This commit is contained in:
parent
21d491843f
commit
53a661861a
2 changed files with 8 additions and 7 deletions
|
|
@ -92,12 +92,6 @@ go run .
|
|||
|
||||
### Building Docker image
|
||||
|
||||
Build Glance with CGO disabled:
|
||||
|
||||
```bash
|
||||
CGO_ENABLED=0 go build -o build/glance .
|
||||
```
|
||||
|
||||
Build the image:
|
||||
|
||||
**Make sure to replace "owner" with your name or organization.**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue