From: Johannes Zellner Date: Sat, 27 Jun 2015 16:23:40 +0000 (+0200) Subject: Make a cloudron app X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=c88ec639a906f57dc11c7a64b5622beb448d5fd6;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git Make a cloudron app --- diff --git a/CloudronManifest.json b/CloudronManifest.json new file mode 100644 index 0000000..5e4fbcc --- /dev/null +++ b/CloudronManifest.json @@ -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 index 0000000..80ecadf --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM cloudron/base:0.3.0 +MAINTAINER Johannes Zellner + +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 index 0000000..7907e98 Binary files /dev/null and b/logo.png differ