Add athens app build files for cloudron
This commit is contained in:
parent
f8cae64ae7
commit
ebce5287c0
29
CloudronManifest.json
Normal file
29
CloudronManifest.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"id": "com.athens.cloudronapp",
|
||||
"title": "Athens",
|
||||
"author": "Athens Project",
|
||||
"description": "Outliner note taking app similar to Roam Research",
|
||||
"tagline": "It's annoying to have to type a tagline for a test project",
|
||||
"version": "0.0.1",
|
||||
"healthCheckPath": "/",
|
||||
"httpPort": 3000,
|
||||
"addons": {
|
||||
"localstorage": {},
|
||||
"ldap": {},
|
||||
"postgresql": {},
|
||||
"sendmail": {}
|
||||
},
|
||||
"optionalSso": true,
|
||||
"memoryLimit": 1610612736,
|
||||
"manifestVersion": 2,
|
||||
"website": "https://github.com/athensresearch/athens",
|
||||
"contactEmail": "support@clourdon.io",
|
||||
"icon": "",
|
||||
"tags": [ "notes", "outliner" ],
|
||||
"mediaLinks": [],
|
||||
"postInstallMessage": "good luck",
|
||||
"minBoxVersion": "5.3.0",
|
||||
"documentationUrl": "https://github.com/athensresearch/athens",
|
||||
"forumUrl": "https://forum.cloudron.io/",
|
||||
"changelog": "It's also annoying to require a changelog"
|
||||
}
|
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
|
||||
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
RUN apt-get update -y && apt-get install -y leiningen && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG VERSION=v1.0.0-beta.49
|
||||
RUN curl -L https://github.com/athensresearch/athens/archive/${VERSION}.tar.gz | tar -xz --strip-components 1 -f -
|
||||
|
||||
RUN yarn --frozen-lockfile
|
||||
RUN lein do compile
|
||||
|
||||
COPY start.sh /app/code/start.sh
|
||||
|
||||
CMD /app/code/start.sh
|
||||
|
Loading…
Reference in New Issue
Block a user