File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed
Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ CODE_OF_CONDUCT.md
2+ Dockerfile
3+ LICENSE
4+ tools
Original file line number Diff line number Diff line change 1+ FROM node:alpine
2+
3+ WORKDIR /app
4+
5+ COPY package*.json ./
6+ COPY . ./
7+
8+ RUN apk add --no-cache git && \
9+ npm install
10+
11+ ENTRYPOINT ["npm" , "run" , "watch" ]
Original file line number Diff line number Diff line change @@ -18,6 +18,19 @@ $ npm run watch
1818
1919This starts a local webserver that will automatically reload your changes.
2020
21+ Alternatively, you can use [ Docker] ( https://www.docker.com/ ) to run the local webserver to avoid
22+ cluttering your local environment with npm dependencies. You first need to build the docker:
23+
24+ ``` bash
25+ docker build -t moz-ssl-config-gen:latest .
26+ ```
27+
28+ You can then run the webserver:
29+
30+ ``` bash
31+ docker run -p 3001:3001 -p 5500:5500 moz-ssl-config-gen:latest
32+ ```
33+
2134## Adding new software
2235
2336There are two places that need to be updated in order to add support for a new piece of software:
You can’t perform that action at this time.
0 commit comments