Commit 3f40a27e authored by catofes's avatar catofes

Docker

parent c24254a8
FROM node
RUN apt-get update
RUN apt-get install -y kmod
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
CMD [ "./start.sh" ]
......@@ -2,6 +2,9 @@
"name": "railgun-network-client",
"version": "1.0.0",
"description": "",
"scripts":{
"start": "coffee main.coffee"
},
"main": "index.js",
"repository": {
"type": "git",
......@@ -15,6 +18,7 @@
"homepage": "https://github.com/railgun-accelerator/railgun-network-client#readme",
"dependencies": {
"pg": "latest",
"csv": "latest"
"csv": "latest",
"coffee-script": "latest"
}
}
......@@ -34,3 +34,4 @@ echo 'network...'
coffee main.coffee
ip route flush cache
sleep 1000d
Markdown is supported
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