From a147293f6c236e6154ab5bc1f2e074474ff8c5e7 Mon Sep 17 00:00:00 2001 From: dm1sh Date: Sat, 17 Jul 2021 16:57:13 +0500 Subject: [PATCH] Updated readme --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 471f0f2..63ef75d 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,26 @@ npm run dev npm run build npm exec serve -s build ``` + +Simple docker deployment + +```bash +# build docker image +docker build . -t publite_frontend + +# run it with docker +docker run -p :5000 publite_frontend +``` + +Dokku deployment with image from Docker Hub + +```bash +dokku apps:create publitefrontend + +dokku git:from-image publitefrontend publite/frontend:latest +``` + +# TODO + +- Optimize page spliting algorythm (rewrite it) +- Fix css modules bundling