templating - road to web ui

This commit is contained in:
bunkerity
2021-05-31 17:49:37 +02:00
parent 1d96620ae6
commit 2db967ad1d
14 changed files with 186 additions and 285 deletions

View File

@@ -10,14 +10,12 @@ RUN chmod +x /tmp/dependencies.sh && \
rm -f /tmp/dependencies.sh
COPY gen/ /opt/gen
#COPY entrypoint/ /opt/entrypoint
#COPY confs/global/ /opt/confs/global
COPY confs/site/ /opt/confs/site
COPY ui/* /opt/entrypoint/
COPY ui/ /opt/entrypoint
COPY settings.json /opt
COPY ui/prepare.sh /tmp
chmod +x /tmp/prepare && \
RUN chmod +x /tmp/prepare.sh && \
/tmp/prepare.sh && \
rm -f /tmp/prepare.sh
@@ -25,4 +23,4 @@ EXPOSE 5000
WORKDIR /opt/entrypoint
ENV FLASK_APP entrypoint.py
ENTRYPOINT ["/usr/bin/python3", "-m", "flask", "run", "--host=0.0.0.0"]
ENTRYPOINT ["/usr/bin/python3", "-m", "flask", "run", "--host=0.0.0.0"]