mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
#33: Fix
This commit is contained in:
parent
f3883c6b07
commit
2f4f7aa1c5
3 changed files with 62 additions and 24 deletions
|
|
@ -4,7 +4,7 @@ MAINTAINER Simon Brooke <simon@journeyman.cc>
|
|||
|
||||
ENV JAVA_HOME=/usr/lib/jvm/default-jvm
|
||||
|
||||
RUN apk add --no-cache openjdk7 && \
|
||||
RUN apk add --no-cache openjdk8 && \
|
||||
ln -sf "${JAVA_HOME}/bin/"* "/usr/bin/"
|
||||
|
||||
# ensure the directories I'm going to write to actually exist!
|
||||
|
|
@ -14,12 +14,16 @@ RUN mkdir -p /usr/local/etc
|
|||
COPY target/smeagol-*-standalone.jar /usr/local/bin/smeagol.jar
|
||||
COPY resources/passwd /usr/local/etc/passwd
|
||||
COPY resources/config.edn /usr/local/etc/config.edn
|
||||
COPY resources/pubilc/content /usr/local/etc/content
|
||||
COPY resources/public/content /usr/local/etc/content
|
||||
|
||||
ENV SMEAGOL_CONFIG=/usr/local/etc/config.edn
|
||||
ENV SMEAGOL_CONTENT_DIR=/usr/local/etc/content
|
||||
ENV SMEAGOL_PASSWD=/usr/local/etc/passwd
|
||||
ENV TIMBRE_DEFAULT_STACKTRACE_FONTS="{}"
|
||||
ENV TIMBRE_LEVEL=':info'
|
||||
ENV PORT=80
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD java -jar /usr/local/bin/smeagol.jar
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue