Fix build commands

This commit is contained in:
Gabriel Simmer 2022-07-23 13:04:17 +01:00
parent 5ed35c5a90
commit 9b438289ed
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ COPY . .
RUN apk add --update gcc musl-dev
WORKDIR /build/wlm
RUN go build -o wlm -ldflags "-s -w"
RUN go build -o wlm -ldflags "-s -w" cmd/wlm/*.go
FROM docker.io/alpine

View file

@ -20,7 +20,7 @@ about them) and send a command over RCON to your server to add them to the white
the address to connect to the server.
This is currently hosted at [mc.gmem.ca](https://mc.gmem.ca) while being developed. It's free for the time being,
and while I do want to eventually monetize this hosted version, you are more than welcome to either use the hosted
and while I do want to eventually monetize this hosted version, you are more than welcome to either use the hosted
version or host your own instance (this is actually recommended if you have the ability, since it allows you to
keep RCON private). I do happily [accept donations](https://www.buymeacoffee.com/gmem) to keep running the public
hosted version!
@ -35,7 +35,7 @@ also be changed.
# Docker
docker build . -t whitelistmanager
# Non-docker
go build -o wlm -ldflags "-s -w"
go build -o wlm -ldflags "-s -w" cmd/wlm/*.go
```
## Running