2022-07-12 10:04:38 +00:00
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
RUN apk --no-cache add python3 inkscape bash imagemagick
|
|
|
|
|
2023-06-28 21:42:46 +00:00
|
|
|
ADD backend /root/zetikettes
|
2022-07-12 10:04:38 +00:00
|
|
|
|
2022-07-26 13:49:50 +00:00
|
|
|
RUN apk --no-cache add ttf-opensans && cp /root/zetikettes/fonts/*.ttf /usr/share/fonts/TTF/ && fc-cache -fv
|
2022-07-12 10:04:38 +00:00
|
|
|
|
|
|
|
# the script will look for templates in /data
|
|
|
|
WORKDIR /root/zetikettes
|
|
|
|
CMD /usr/bin/python3 web.py
|