Skip to content

Commit e7ef4fe

Browse files
authored
Merge pull request #560 from witheve/docker
Set user in Docker container to complete install
2 parents 59f6ec9 + a16df3b commit e7ef4fe

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM node:6-slim
22
MAINTAINER Kodowa, Inc. <[email protected]>
33
ADD / /eve
4+
RUN chown -R node:node /eve
5+
USER node
6+
ENV HOME /eve
47
WORKDIR /eve
58
RUN npm install
69
EXPOSE 8080

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ Eve is a programming language and IDE based on years of research into building a
1212

1313
### From Source
1414

15-
You'll need a recent [node.js](https://nodejs.org) and then:
15+
You'll need a recent [node.js](https://nodejs.org) for your platform. Download the Eve source either by cloning this repository:
16+
17+
18+
```
19+
git clone https://github.com/witheve/Eve.git
20+
```
21+
22+
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:
1623

1724
```
1825
npm install
@@ -21,6 +28,14 @@ npm start
2128

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

31+
### From Docker
32+
33+
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:
34+
35+
```
36+
docker run -p 8080:8080 witheve/eve
37+
```
38+
2439
## How to use Eve
2540

2641
You can learn about Eve with the following resources:

0 commit comments

Comments
 (0)