aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-19 20:39:09 -0700
committerFuwn <[email protected]>2021-06-19 20:39:09 -0700
commit77a682924524fde3476b17359d184cb72fc23b3f (patch)
tree22702986a316dcbea8002c97cd541e9a9a288750 /Dockerfile
downloaddocker-asmttpd-77a682924524fde3476b17359d184cb72fc23b3f.tar.xz
docker-asmttpd-77a682924524fde3476b17359d184cb72fc23b3f.zip
:whale2:
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" ]