Torjus Håkestad
bde2a38931
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
|
||
---|---|---|
.vscode | ||
api | ||
client | ||
cmd | ||
files | ||
users | ||
.gitignore | ||
.goreleaser.yaml | ||
.woodpecker.yml | ||
auth_test.go | ||
auth.go | ||
config_test.go | ||
config.go | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
gpaste-server.toml | ||
README.md |
gpaste
Simple pastebin-style webapp.
Build
gpaste-server
go build -o gpaste-server cmd/server/server.go
gpaste-client
go build -o gpaste cmd/client/client.go
Run using docker
From registry
docker pull registry.t-juice.club/gpaste:latest
docker run --rm -it -p 8080:8080 registry.t-juice.club/gpaste:latest
From Dockerfile
docker build -t gpaste:latest .
docker run --rm -it p 8080:8080 gpaste:latest