docs: updated README #8

Merged
ahoemann merged 1 commit from env into master 2025-01-21 11:31:35 +00:00
Showing only changes of commit e9b32af7c7 - Show all commits

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>
```