Fix dockerfile and add a quick test
See readme for instructions
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk --no-cache add python3 inkscape bash imagemagick
|
||||
RUN apk --no-cache add python3 inkscape bash imagemagick ttf-opensans
|
||||
|
||||
ADD backend /root/zetikettes
|
||||
|
||||
RUN apk --no-cache add ttf-opensans && cp /root/zetikettes/fonts/*.ttf /usr/share/fonts/TTF/ && fc-cache -fv
|
||||
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
|
||||
|
Reference in New Issue
Block a user