12 lines
310 B
Docker
12 lines
310 B
Docker
FROM alpine
|
|
|
|
RUN apk --no-cache add python3 inkscape bash imagemagick
|
|
|
|
ADD backend /root/zetikettes
|
|
|
|
RUN apk --no-cache add ttf-opensans && 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
|