Skip to content

Commit 6e771dd

Browse files
authored
Add docker instructions
1 parent 3888ab1 commit 6e771dd

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,15 @@ npm run build
4545
npm run lint
4646
```
4747

48-
### Deploy
48+
### Docker
4949

50-
App is deployed on https://chamerling.github.io/gitlab-teams with the help of gh-pages and with some little help from git worktree.
51-
To deploy a new version:
50+
Docker image is built on commit and available on Docker Hub.
5251

53-
1. `rm -fr dist/*`
54-
2. `npm run build`
55-
3. `cd dist`
56-
4. `git add .`
57-
5. `git commit -am 'VXYZ'`
58-
6. `git push origin gh-pages`
52+
```sh
53+
docker run -it -p 8888:80 --rm --name gitlab-teams chamerling/gitlab-teams
54+
```
55+
56+
Then open http://localhost:8888 and enjoy.
5957

6058
## License
6159

0 commit comments

Comments
 (0)