Build files outside and move in & install only !dev dependencies
This commit is contained in:
15
README.md
15
README.md
@@ -56,15 +56,26 @@ Api endpoints `/text` & `/motd` have the following query options:
|
||||
|
||||
## Docker install
|
||||
|
||||
Run as a docker container using:
|
||||
Run as a docker container from github container registry:
|
||||
|
||||
```bash
|
||||
docker run -d \
|
||||
sudo docker run -d \
|
||||
--name figlet-http \
|
||||
-p 3000:3000 \
|
||||
ghcr.io/kevinmidboe/figlet-http
|
||||
```
|
||||
|
||||
Run as docker locally:
|
||||
```bash
|
||||
yarn build; \
|
||||
sudo docker build -t figlet-http .; \
|
||||
sudo docker run -d \
|
||||
--name figlet-http \
|
||||
-p 3000:3000 \
|
||||
figlet-http
|
||||
```
|
||||
|
||||
|
||||
## Systemd service
|
||||
|
||||
Example systemd config for running http server.
|
||||
|
||||
Reference in New Issue
Block a user