diff options
author | Bill <bill@billserver.senders.io> | 2021-04-06 23:39:44 -0400 |
---|---|---|
committer | Bill <bill@billserver.senders.io> | 2021-04-06 23:39:44 -0400 |
commit | 05d62ad4d341be057ed72bfd0b308de8f492efa8 (patch) | |
tree | 24f74dc1f7c37a95c565ecf5aecdb88e68e95cfb /capsule/Dockerfile | |
parent | 26f6110c3f69966dec42078c369a699b9e947b79 (diff) |
Migrate to Java Gemini Server
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 |