chore(yolk): add docker management instructions & scripts
This commit is contained in:
parent
e656ed7124
commit
984d456fdf
2 changed files with 8 additions and 1 deletions
|
|
@ -14,12 +14,17 @@ Crucial fixes (if I find them), quality of life improvements, and mastodon API f
|
|||
|
||||
An official docker image is published in: https://hub.docker.com/repository/docker/ayoayco/yolk
|
||||
|
||||
For local development, [setup docker](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04).
|
||||
|
||||
To build and publish:
|
||||
|
||||
```bash
|
||||
docker build -t ayoayco/yolk .
|
||||
|
||||
docker push ayoayco/yolk
|
||||
|
||||
# or
|
||||
npm run build:docker
|
||||
npm run publish:docker
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
"main": "./nuxt.config.ts",
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"build:docker": "docker build -t ayoayco/yolk .",
|
||||
"publish:docker": "docker push ayoayco/yolk",
|
||||
"dev": "nuxt dev --port 5314",
|
||||
"dev:pwa": "VITE_DEV_PWA=true nuxt dev --port 5314",
|
||||
"dev:mocked": "nuxt dev --port 5314 --dotenv .env.mock",
|
||||
|
|
|
|||
Loading…
Reference in a new issue