Skip to content

Commit

Permalink
Merge pull request #560 from witheve/docker
Browse files Browse the repository at this point in the history
Set user in Docker container to complete install
  • Loading branch information
joshuafcole committed Nov 16, 2016
2 parents 59f6ec9 + a16df3b commit e7ef4fe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM node:6-slim
MAINTAINER Kodowa, Inc. <info@kodowa.com>
ADD / /eve
RUN chown -R node:node /eve
USER node
ENV HOME /eve
WORKDIR /eve
RUN npm install
EXPOSE 8080
Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ Eve is a programming language and IDE based on years of research into building a

### From Source

You'll need a recent [node.js](https://nodejs.org) and then:
You'll need a recent [node.js](https://nodejs.org) for your platform. Download the Eve source either by cloning this repository:


```
git clone https://github.com/witheve/Eve.git
```

or you can [download](https://github.com/witheve/Eve/archive/master.zip) the Eve source directly. To build and run Eve, run the following commands in the root Eve directory:

```
npm install
Expand All @@ -21,6 +28,14 @@ npm start

Then open `http://localhost:8080/` in your browser.

### From Docker

First, [download](https://www.docker.com/products/docker) and install Docker for your platform. To download and install the Eve container, run the following command:

```
docker run -p 8080:8080 witheve/eve
```

## How to use Eve

You can learn about Eve with the following resources:
Expand Down

0 comments on commit e7ef4fe

Please sign in to comment.