Переглянути джерело

Initial cloudron package files

Johannes Zellner 11 роки тому
батько
коміт
491c74875d
5 змінених файлів з 42 додано та 0 видалено
  1. 5 0
      .dockerignore
  2. 20 0
      CloudronManifest.json
  3. 1 0
      DESCRIPTION.md
  4. 9 0
      Dockerfile
  5. 7 0
      start.sh

+ 5 - 0
.dockerignore

@@ -0,0 +1,5 @@
+.git
+.gitignore
+.dockerignore
+node_modules
+

+ 20 - 0
CloudronManifest.json

@@ -0,0 +1,20 @@
+{
+  "id": "de.nebulon.guacamoly",
+  "title": "Guacamoly",
+  "author": "Johannes Zellner",
+  "description": "file://DESCRIPTION.md",
+  "tagline": "Your personal data store",
+  "version": "0.0.1",
+  "healthCheckPath": "/",
+  "httpPort": 3000,
+  "addons": {
+    "localstorage": {}
+  },
+  "minBoxVersion": "0.0.72",
+  "targetBoxVersion": "0.0.72",
+  "manifestVersion": 1,
+  "website": "",
+  "contactEmail": "johannes@nebulon.de",
+  "icon": "",
+  "mediaLinks": [ ]
+}

+ 1 - 0
DESCRIPTION.md

@@ -0,0 +1 @@
+Please add the appstore description in markdown format here.

+ 9 - 0
Dockerfile

@@ -0,0 +1,9 @@
+FROM cloudron/base:0.8.0
+MAINTAINER Johannes Zellner <johannes@nebulon.de>
+
+EXPOSE 3000
+
+RUN mkdir -p /app/code
+WORKDIR /app/code
+
+ADD bower.json package.json app.js src start.sh /app/code

+ 7 - 0
start.sh

@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -eu
+
+export NODE_ENV=production
+
+/usr/local/bin/gosu cloudron:cloudron node /app/code/app.js