]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
Make a cloudron app
authorJohannes Zellner <johannes@nebulon.de>
Sat, 27 Jun 2015 16:23:40 +0000 (18:23 +0200)
committerJohannes Zellner <johannes@nebulon.de>
Sat, 27 Jun 2015 16:23:40 +0000 (18:23 +0200)
CloudronManifest.json [new file with mode: 0644]
Dockerfile [new file with mode: 0644]
logo.png [new file with mode: 0644]

diff --git a/CloudronManifest.json b/CloudronManifest.json
new file mode 100644 (file)
index 0000000..5e4fbcc
--- /dev/null
@@ -0,0 +1,20 @@
+{
+  "id": "io.cloudron.surfer",
+  "title": "Surfer",
+  "author": "Cloudron Team",
+  "description": "Simple static file server",
+  "tagline": "Static file server",
+  "version": "0.1.0",
+  "healthCheckPath": "/",
+  "httpPort": 3000,
+  "manifestVersion": 1,
+  "website": "https://github.com/nebulade/surfer",
+  "contactEmail": "support@cloudron.io",
+  "icon": "logo.png",
+  "addons": {
+    "ldap": {},
+    "localstorage": {}
+  },
+  "mediaLinks": [
+  ]
+}
diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..80ecadf
--- /dev/null
@@ -0,0 +1,16 @@
+FROM cloudron/base:0.3.0
+MAINTAINER Johannes Zellner <johannes@nebulon.de>
+
+ENV DEBIAN_FRONTEND noninteractive
+
+RUN mkdir -p /app/code
+WORKDIR /app/code
+
+ADD package.json /app/code/package.json
+ADD src /app/code/src
+ADD app.js /app/code/app.js
+RUN npm install
+
+EXPOSE 3000
+
+CMD [ "nodejs", "app.js"]
diff --git a/logo.png b/logo.png
new file mode 100644 (file)
index 0000000..7907e98
Binary files /dev/null and b/logo.png differ