Initial commit

This commit is contained in:
Thomas Klaehn
2021-02-18 08:39:38 +01:00
commit 4b3330c6c2
3 changed files with 34 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM alpine:latest
RUN apk update && apk upgrade
RUN apk add --update --no-cache python3 python3-dev py-pip git build-base freetype-dev nginx
RUN pip install --upgrade pip && \
pip install wheel && \
pip install gunicorn \
pip install flask
RUN git clone https://git.blackfinn.de/python/weblight.git
RUN cd weblight && python3 setup.py install
RUN rm -rf weblight
RUN mkdir -p /run/nginx
COPY run.sh /bin/
ENTRYPOINT ["/bin/run.sh"]