Merge pull request #18 from pulponair/feature/16-Docker-Compose

[FEAUTRE] Bring docker-compose.yml
This commit is contained in:
Julius Zeidler 2024-02-19 23:03:24 +01:00 committed by GitHub
commit 4607df5596
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 0 deletions

View file

@ -20,3 +20,20 @@ The file `docs/blog/helloworld.md` will be rendered to `/blog/helloworld`, the `
Images and other assets can be placed into the public dir. `docs/.vuepress/public/images/example.png` and be accessed in the browser via `/images/example.png`. Images and other assets can be placed into the public dir. `docs/.vuepress/public/images/example.png` and be accessed in the browser via `/images/example.png`.
## Contribution
Piece of cake:
- File an issue
- File a corresponding pull request
- "I don't know what a pull request is!": Just file an issue, we will take good care of you. :)
### Setting up a Development Environment to contribute
#### Methode #1
tl;dr:
- clone the repository
- run "yarn install"
- run "yarn dev"
#### Methode #2
You got a docker environment running anyway? Lovely:
- run docker compose up

10
docker-compose.yml Normal file
View file

@ -0,0 +1,10 @@
services:
dev:
image: "node:16"
user: "node"
working_dir: /home/node/app
volumes:
- ./:/home/node/app
ports:
- "8080:8080"
command: sh -c "yarn install && yarn build && yarn dev"