summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMatt Arnold <matt@thegnuguru.org>2023-01-01 05:40:00 -0500
committerMatt Arnold <matt@thegnuguru.org>2023-01-01 05:40:00 -0500
commite548329c731090e9322f6504beb7944d5dcdc589 (patch)
tree213c2b47a7cfd8248e5a307e3a530ae9cfb28329 /Dockerfile
Inital commit
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..48649bb
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+FROM alpine:latest
+
+RUN apk add --update --no-cache go git make musl-dev curl openssl
+RUN mkdir -p /app/src
+WORKDIR /app/src
+COPY appbuild.sh /app/src
+RUN chmod +x appbuild.sh
+RUN ./appbuild.sh
+WORKDIR /
+COPY entrypoint.sh /
+RUN chmod +x entrypoint.sh
+EXPOSE 3000
+RUN ip addr
+ENTRYPOINT ./entrypoint.sh