diff options
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 @@ | |||
| 1 | FROM alpine | ||
| 2 | ENV LANG C.UTF-8 | ||
| 3 | ENV LC_ALL C.UTF-8 | ||
| 4 | RUN apk add --no-cache curl-dev build-base | ||
| 5 | COPY . /build | ||
| 6 | WORKDIR /build | ||
| 7 | RUN make | ||
| 8 | COPY examples/docker-entrypoint.sh /usr/local/bin/entrypoint.sh | ||
| 9 | RUN chmod +x /usr/local/bin/entrypoint.sh | ||
| 10 | ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"] | ||
| 11 | EXPOSE 8001 | ||
| 12 | CMD /build/snac | ||