aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..4db787e
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,13 @@
+FROM alpine:3.14.0
+
+WORKDIR /usr/src/app
+
+RUN apk add --update alpine-sdk yasm git
+
+RUN git clone --recursive https://github.com/nemasu/asmttpd.git .
+
+RUN make release
+
+EXPOSE 80
+
+ENTRYPOINT [ "./asmttpd", "./web_root", "80" ]