Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Adding dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
richroslund committed Mar 9, 2018
1 parent 1c852c3 commit aded97e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .dockerignore
@@ -0,0 +1,13 @@
# files
.DS_Store
.dockerignore
.gitignore
docker-compose.yml
Dockerfile
package-lock.json
README.md

# directories
.git
node_modules
test
12 changes: 12 additions & 0 deletions Dockerfile
@@ -0,0 +1,12 @@
FROM zenika/alpine-node:latest

COPY . /src/ark-rpc

RUN cd /src/ark-rpc \
&& npm install -g forever \
&& npm install

WORKDIR /src/ark-rpc
ENTRYPOINT ["forever","./server.js","--allow-remote"]

EXPOSE 8081

0 comments on commit aded97e

Please sign in to comment.