updated build instructions

This commit is contained in:
Florian Walther
2026-02-08 23:18:42 +01:00
parent 6b93307f9e
commit 2a2f99dd76

View File

@@ -28,18 +28,20 @@ you can build the app yourself like this:
go build -o password-generator ./
```
NOTE: If you build the app manually in go, like shown in this example, it will probably not run, since it misses a writeable `/data` directory.
# build a docker container
```
docker build -t password-generator .
docker build -t web-password:dev .
```
# start the docker container
```
docker run -p 8080:8080 password-generator
docker run -p 8080:8080 -v app_data:/data web-password:dev
```
## docker-compose