summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Toby Jaffey2022-12-12 10:26:38 +0000
committerGravatar Toby Jaffey2022-12-12 10:26:38 +0000
commit4afa513dced3b9ef024bc366b4fc884802730d50 (patch)
tree51098e478054a66439e98dfab89cbbedf5d9f5c0 /Dockerfile
parentBackport from xs. (diff)
downloadpenes-snac2-4afa513dced3b9ef024bc366b4fc884802730d50.tar.gz
penes-snac2-4afa513dced3b9ef024bc366b4fc884802730d50.tar.xz
penes-snac2-4afa513dced3b9ef024bc366b4fc884802730d50.zip
Add docker-compose support, so a working development server with HTTPS can be started with:
docker-compose build && docker-compose up
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..05ae1fe
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
1FROM alpine
2ENV LANG C.UTF-8
3ENV LC_ALL C.UTF-8
4RUN apk add --no-cache curl-dev build-base
5COPY . /build
6WORKDIR /build
7RUN make
8COPY examples/docker-entrypoint.sh /usr/local/bin/entrypoint.sh
9RUN chmod +x /usr/local/bin/entrypoint.sh
10ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
11EXPOSE 8001
12CMD /build/snac