diff options
Diffstat (limited to 'capsule/Dockerfile')
-rw-r--r-- | capsule/Dockerfile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/capsule/Dockerfile b/capsule/Dockerfile index 945c93e..a55ae98 100644 --- a/capsule/Dockerfile +++ b/capsule/Dockerfile @@ -1,16 +1,17 @@ -FROM debian:stable-slim - -RUN apt-get update && apt-get install -y golang git -RUN mkdir /opt/go -ENV GOPATH=/opt/go -RUN go get github.com/BurntSushi/toml -RUN go get tildegit.org/solderpunk/molly-brown +FROM openjdk:11 +RUN mkdir /opt/jgs/ +WORKDIR /opt/jgs/ EXPOSE 1965 + VOLUME /etc/certs -VOLUME /var/log/molly +VOLUME /var/log/jgs VOLUME /var/gemini -COPY molly.conf /etc/molly.conf +COPY docker-entrypoint.sh ./ +COPY server.jar ./ +COPY logback.xml ./ +COPY lib ./lib +COPY gemini-server.conf ./ -ENTRYPOINT /opt/go/bin/molly-brown +ENTRYPOINT /opt/jgs/docker-entrypoint.sh |