aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes <johannes@cloudron.io>2016-11-17 12:58:45 +0100
committerJohannes <johannes@cloudron.io>2016-11-17 12:58:45 +0100
commite31aa8a8d9fef96357f18a33940adacecd1ca363 (patch)
treebb9b56ae20d978555c0026bc0b56a60274c51cc1
parent3d716d9ef715d3bfd70631161d022abda0467b71 (diff)
downloadSurfer-e31aa8a8d9fef96357f18a33940adacecd1ca363.tar.gz
Surfer-e31aa8a8d9fef96357f18a33940adacecd1ca363.tar.zst
Surfer-e31aa8a8d9fef96357f18a33940adacecd1ca363.zip
Rename app.js -> server.js
-rw-r--r--Dockerfile2
-rw-r--r--package.json2
-rwxr-xr-xserver.js (renamed from app.js)0
-rwxr-xr-xstart.sh2
4 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index d5c7e87..5cdd88c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,7 +10,7 @@ ADD src /app/code/src
10ADD app /app/code/app 10ADD app /app/code/app
11ADD cli /app/code/cli 11ADD cli /app/code/cli
12 12
13ADD package.json app.js start.sh README.md /app/code/ 13ADD package.json server.js start.sh README.md /app/code/
14 14
15RUN npm install --production 15RUN 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 },
diff --git a/app.js b/server.js
index eaeed17..eaeed17 100755
--- a/app.js
+++ b/server.js
diff --git a/start.sh b/start.sh
index 87cec0d..7c78798 100755
--- a/start.sh
+++ b/start.sh
@@ -6,4 +6,4 @@ export NODE_ENV=production
6 6
7chown -R cloudron:cloudron /app/data 7chown -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