aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/gemini/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-12-31 19:47:18 +0000
committerterminaldweller <thabogre@gmail.com>2022-12-31 19:47:18 +0000
commit4065b9e083e5e72eb2cb79394b6e1a449d0da335 (patch)
tree3bf59e16d18b967c28ed60853159dae45cde0a52 /terminaldweller.com/gemini/Dockerfile
parentupdate (diff)
downloadscripts-4065b9e083e5e72eb2cb79394b6e1a449d0da335.tar.gz
scripts-4065b9e083e5e72eb2cb79394b6e1a449d0da335.zip
update
Diffstat (limited to 'terminaldweller.com/gemini/Dockerfile')
-rw-r--r--terminaldweller.com/gemini/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/terminaldweller.com/gemini/Dockerfile b/terminaldweller.com/gemini/Dockerfile
new file mode 100644
index 0000000..0817979
--- /dev/null
+++ b/terminaldweller.com/gemini/Dockerfile
@@ -0,0 +1,13 @@
+#FROM alpine:3.16 as certbuilder
+#RUN apk add openssl
+#WORKDIR /certs
+#RUN openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem -days 3650 -nodes -subj "/CN=gemini.terminaldweller.com"
+
+FROM alpine:3.16 as builder
+RUN apk update \
+ && apk upgrade \
+ && apk add --no-cache cargo \
+ && cargo install agate
+#COPY --from=certbuilder /certs /certs
+COPY ./index.gmi /srv/index.gmi
+#ENTRYPOINT ["agate"]