improved Docker image build
This commit is contained in:
6
build_docker_image.sh
Executable file
6
build_docker_image.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
python3 setup.py bdist_wheel
|
||||
cp docker/Dockerfile dist/Dockerfile
|
||||
docker build dist --tag alpine:md2html
|
@@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
MAINTAINER Oggioni Walter <oggioni.walter@gmail.com>
|
||||
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
|
||||
|
Reference in New Issue
Block a user