Backend LGTM

This commit is contained in:
2023-07-03 16:56:58 +02:00
parent 9a7ce60913
commit 2395bc215d
3 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
FROM alpine
RUN apk --no-cache add python3 inkscape bash imagemagick ttf-opensans
RUN apk --no-cache add py3-pip && pip3 install django tzdata
ADD backend /root/zetikettes
@@ -8,6 +9,7 @@ RUN mkdir -p /usr/share/fonts/TTF \
&& cp /root/zetikettes/fonts/*.ttf /usr/share/fonts/TTF/ \
&& fc-cache -fv
# the script will look for templates in /data
WORKDIR /root/zetikettes
CMD /usr/bin/python3 web.py
CMD /usr/bin/python3 zetikettes/manage.py runserver 0.0.0.0:8000