Add athens app build files for cloudron

This commit is contained in:
Joe
2021-03-05 11:27:22 -06:00
parent f8cae64ae7
commit ebce5287c0
3 changed files with 54 additions and 0 deletions

17
Dockerfile Normal file
View 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