From 0738eb52eb3c1984d32a692f48b11f9c3e808ddd Mon Sep 17 00:00:00 2001 From: Xander Bazzi Date: Thu, 6 Feb 2025 00:47:24 -0500 Subject: [PATCH] Add docker build commands to README --- Dockerfile.runtime | 2 +- README.md | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile.runtime b/Dockerfile.runtime index 8ddd768..675cd46 100644 --- a/Dockerfile.runtime +++ b/Dockerfile.runtime @@ -1,5 +1,5 @@ # # 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' RUN groupadd -r papibot && useradd -r -g papibot papibot diff --git a/README.md b/README.md index 7965f61..993a445 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,9 @@ Populate the discord bot keys `go run .` -type `!` in any channel in the discord while you're in a voice channel. \ No newline at end of file +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: Dockerfile.builder +```