zetikettes/Dockerfile

16 lines
432 B
Docker
Raw Normal View History

2022-07-12 10:04:38 +00:00
FROM alpine
RUN apk --no-cache add python3 inkscape bash imagemagick ttf-opensans
2023-07-03 14:56:58 +00:00
RUN apk --no-cache add py3-pip && pip3 install django tzdata
2022-07-12 10:04:38 +00:00
2023-06-28 21:42:46 +00:00
ADD backend /root/zetikettes
2022-07-12 10:04:38 +00:00
RUN mkdir -p /usr/share/fonts/TTF \
&& cp /root/zetikettes/fonts/*.ttf /usr/share/fonts/TTF/ \
&& fc-cache -fv
2022-07-12 10:04:38 +00:00
2023-07-03 14:56:58 +00:00
2022-07-12 10:04:38 +00:00
# the script will look for templates in /data
WORKDIR /root/zetikettes
2023-07-03 14:56:58 +00:00
CMD /usr/bin/python3 zetikettes/manage.py runserver 0.0.0.0:8000