Update docker instructions in README

This commit is contained in:
Nexus 2024-04-22 02:58:05 +01:00
parent fd9535c87a
commit 4e0cf1bd98
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1,10 +1,11 @@
# With docker # With docker
1. Clone the repository **Warning:** `latest` is automatically built and published from the `master` branch. It is not recommended to use `latest` in production.
2. Run `docker build -t ipserv:latest .` You should, instead, use a specific commit hash.
3. Run `docker run -it --name ipserv --restart unless-stopped -p 8080:80/tcp -e "GUNICORN_CMD_ARGS='-w $(nproc)'" -d ipserv:latest`
4. Access `http://localhost:8080/` in your browser 1. Run `docker run -it --name ipserv --restart unless-stopped -p 8080:80/tcp -e "GUNICORN_CMD_ARGS='-w $(nproc)'" -d git.i-am.nexus/nex/ipserv:latest`
5. Profit!? 2. Access `http://localhost:8080/` in your browser
3. Profit!?
## Without docker ## Without docker