File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ node_modules
Original file line number Diff line number Diff line change 1+ FROM ubuntu:18.04
2+
3+ RUN apt-get update && apt-get install -y curl gnupg2 nodejs npm openjdk-11-jdk-headless python
4+
5+ RUN mkdir /src
6+ WORKDIR /src
7+
8+ CMD ["bash" , "-c" , "npm i && npm run compile" ]
Original file line number Diff line number Diff line change @@ -91,6 +91,22 @@ Run compilation and building on production:
9191$ npm run release
9292```
9393
94+ ### Compiling using Docker Container
95+
96+ Or if you can use docker, you can compile script and css:
97+
98+ ```
99+ $ docker build -t thinreports-editor:latest .
100+ $ docker run --rum -v $PWD:/src thinreports-editor:latest
101+ Compiling JavaScript with SIMPLE_OPTIMIZATIONS...
102+ ```
103+
104+ And, launch electron on development:
105+
106+ ```
107+ $ npm start
108+ ```
109+
94110## License
95111
96112Thinreports Editor is licensed under the [ GPLv3] ( https://github.com/thinreports/thinreports-editor/blob/master/GPLv3 ) .
You can’t perform that action at this time.
0 commit comments