Commit d5ea394b authored by Benjamin Bouvier's avatar Benjamin Bouvier
Browse files

Fixes #564: Better explain how to build the Docker image;

parent afa46632
......@@ -62,13 +62,16 @@ docker run -p 9876:9876 -v /opt/kresus/data:/home/user/data -ti -d bnjbvr/kresus
```
### Build the image
There is a Dockerfile from which you can build and run Kresus, using the
following commands (don't forget to change the port mapping and the volume
mapping, if necessary!):
mapping, if necessary!). You'll need `nodejs` > 0.10 as well as `npm` to build
it from the ground up.
- `git clone https://framagit.org/bnjbvr/kresus && cd kresus`
- `docker build -t kresus .`
- `docker run -p 9876:9876 -v /opt/kresus/data:/home/user/data -ti -d kresus`
- `make release` (you can answer `y` to the first question)
- `docker build -t myself/kresus .`
- `docker run -p 9876:9876 -v /opt/kresus/data:/home/user/data -ti -d myself/kresus`
## Install on CozyCloud
......
......@@ -11,7 +11,7 @@ done
echo "Removing node_modules for ensuring dev dependencies..."
rm -rf node_modules/
yarn
(which yarn > /dev/null && yarn) || npm install
echo "Building..."
NODE_ENV=production make build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment