diff options
author | Toby Jaffey <toby@ringtailsoftware.co.uk> | 2022-12-12 10:26:38 +0000 |
---|---|---|
committer | Toby Jaffey <toby@ringtailsoftware.co.uk> | 2022-12-12 10:26:38 +0000 |
commit | 4afa513dced3b9ef024bc366b4fc884802730d50 (patch) | |
tree | 51098e478054a66439e98dfab89cbbedf5d9f5c0 /Dockerfile | |
parent | aa82e14bc7e7a3770feb23446d1a843d97213ccf (diff) |
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-- | Dockerfile | 12 |
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 @@ +FROM alpine +ENV LANG C.UTF-8 +ENV LC_ALL C.UTF-8 +RUN apk add --no-cache curl-dev build-base +COPY . /build +WORKDIR /build +RUN make +COPY examples/docker-entrypoint.sh /usr/local/bin/entrypoint.sh +RUN chmod +x /usr/local/bin/entrypoint.sh +ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"] +EXPOSE 8001 +CMD /build/snac |