diff options
author | Johannes <johannes@cloudron.io> | 2016-11-17 12:58:45 +0100 |
---|---|---|
committer | Johannes <johannes@cloudron.io> | 2016-11-17 12:58:45 +0100 |
commit | e31aa8a8d9fef96357f18a33940adacecd1ca363 (patch) | |
tree | bb9b56ae20d978555c0026bc0b56a60274c51cc1 | |
parent | 3d716d9ef715d3bfd70631161d022abda0467b71 (diff) | |
download | Surfer-e31aa8a8d9fef96357f18a33940adacecd1ca363.tar.gz Surfer-e31aa8a8d9fef96357f18a33940adacecd1ca363.tar.zst Surfer-e31aa8a8d9fef96357f18a33940adacecd1ca363.zip |
Rename app.js -> server.js
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rwxr-xr-x | server.js (renamed from app.js) | 0 | ||||
-rwxr-xr-x | start.sh | 2 |
4 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ ADD src /app/code/src | |||
10 | ADD app /app/code/app | 10 | ADD app /app/code/app |
11 | ADD cli /app/code/cli | 11 | ADD cli /app/code/cli |
12 | 12 | ||
13 | ADD package.json app.js start.sh README.md /app/code/ | 13 | ADD package.json server.js start.sh README.md /app/code/ |
14 | 14 | ||
15 | RUN npm install --production | 15 | RUN npm install --production |
16 | 16 | ||
diff --git a/package.json b/package.json index 5732fcd..335b1ca 100644 --- a/package.json +++ b/package.json | |||
@@ -2,7 +2,7 @@ | |||
2 | "name": "cloudron-surfer", | 2 | "name": "cloudron-surfer", |
3 | "version": "3.0.0", | 3 | "version": "3.0.0", |
4 | "description": "Simple file server", | 4 | "description": "Simple file server", |
5 | "main": "app.js", | 5 | "main": "server.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | "test": "./node_modules/mocha/bin/_mocha -R spec ./test/test.js" | 7 | "test": "./node_modules/mocha/bin/_mocha -R spec ./test/test.js" |
8 | }, | 8 | }, |
@@ -6,4 +6,4 @@ export NODE_ENV=production | |||
6 | 6 | ||
7 | chown -R cloudron:cloudron /app/data | 7 | chown -R cloudron:cloudron /app/data |
8 | 8 | ||
9 | /usr/local/bin/gosu cloudron:cloudron node /app/code/app.js /app/data | 9 | /usr/local/bin/gosu cloudron:cloudron node /app/code/server.js /app/data |