summaryrefslogtreecommitdiffstats
path: root/dmt/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'dmt/Dockerfile')
-rw-r--r--dmt/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/dmt/Dockerfile b/dmt/Dockerfile
new file mode 100644
index 0000000..6d53838
--- /dev/null
+++ b/dmt/Dockerfile
@@ -0,0 +1,19 @@
+FROM alpine
+
+RUN apk --no-cache upgrade
+RUN apk --no-cache add \
+ bash \
+ docker-cli \
+ docker-compose \
+ git \
+ go
+
+WORKDIR /app
+ENV PATH="${PATH}:/app"
+ENV GOPATH="/usr/local"
+COPY . .
+
+RUN go install github.com/uriel/cgd@latest
+
+EXPOSE 80
+CMD ["cgd", "-a", ":80", "-c", "dmt"]