Add docker build commands to README

This commit is contained in:
Xander Bazzi 2025-02-06 00:47:24 -05:00
parent 1f15414a2f
commit 0738eb52eb
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# # Use the official golang:1.22.12-bookworm image for the final stage # # Use the official golang:1.22.12-bookworm image for the final stage
FROM www.gitgud.foo/thegrind/papibot-builder:latest FROM www.gitgud.foo/thegrind/papibot-builder:latest as build
# # Create a group and user 'papibot' # # Create a group and user 'papibot'
RUN groupadd -r papibot && useradd -r -g papibot papibot RUN groupadd -r papibot && useradd -r -g papibot papibot

View File

@ -14,4 +14,9 @@ Populate the discord bot keys
`go run .` `go run .`
type `!` in any channel in the discord while you're in a voice channel. type `!` in any channel in the discord while you're in a voice channel.
## Build new builder container image
```
docker build -t www.gitgud.foo/thegrind/papibot-builder:<tag> Dockerfile.builder
```