diff --git a/build_docker_image.sh b/build_docker_image.sh new file mode 100755 index 0000000..800d34e --- /dev/null +++ b/build_docker_image.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +python3 setup.py bdist_wheel +cp docker/Dockerfile dist/Dockerfile +docker build dist --tag alpine:md2html diff --git a/docker/Dockerfile b/docker/Dockerfile index cb9bc30..e680dd1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:latest MAINTAINER Oggioni Walter RUN apk update -RUN apk add python3 uwsgi uwsgi-python3 +RUN apk add python3 uwsgi uwsgi-python3 graphviz RUN mkdir /srv/http VOLUME /srv/http WORKDIR /srv/http