docs: updated README
All checks were successful
/ update (push) Successful in 1s

This commit is contained in:
ahoemann 2025-01-21 12:30:02 +01:00
parent 4f73502d00
commit e9b32af7c7

View file

@ -18,20 +18,15 @@ python3 -m venv .venv
pip install requirements.txt pip install requirements.txt
``` ```
```systemd ## Building the container
# /etc/systemd/system/adrianux.service
[Unit]
Description=WSGI app
After=network.target
[Service] ```
Type=simple # <runtime> build -t adrianux:<tag> .
User=adrianux
WorkingDirectory=/opt/Adrianux.net
ExecStart=/opt/Adrianux.net/.venv/bin/waitress-serve --listen=127.0.0.1:8080 app:app
Restart=always
[Install]
WantedBy=multi-user.target
``` ```
## Running the container
```
# <runtime> run adrianux:<tag>
```