add Docker support
This commit is contained in:
parent
9b0a5ff0a3
commit
b0aac83c62
|
@ -0,0 +1,5 @@
|
||||||
|
FROM node:alpine3.10
|
||||||
|
COPY . /srv
|
||||||
|
WORKDIR /srv
|
||||||
|
RUN npm install
|
||||||
|
CMD "npm" "start"
|
13
README.md
13
README.md
|
@ -22,11 +22,20 @@ STDOUT. Check the README there for more details and usages.
|
||||||
|
|
||||||
## Tested Browsers
|
## Tested Browsers
|
||||||
|
|
||||||
* Firefox 8
|
* Firefox 74
|
||||||
* Chrome 17
|
* Chrome 17
|
||||||
* Safari 5.3
|
* Safari 5.3
|
||||||
|
|
||||||
## Installation
|
## Docker installation
|
||||||
|
|
||||||
|
`docker build -t haste .`
|
||||||
|
|
||||||
|
`docker run -ti -p 7777:7777 haste`
|
||||||
|
|
||||||
|
open your browser to localhost:7777
|
||||||
|
|
||||||
|
|
||||||
|
## Manual Installation
|
||||||
|
|
||||||
1. Download the package, and expand it
|
1. Download the package, and expand it
|
||||||
2. Explore the settings inside of config.js, but the defaults should be good
|
2. Explore the settings inside of config.js, but the defaults should be good
|
||||||
|
|
Loading…
Reference in New Issue