zetikettes/Dockerfile
Paul Mathieu c219091c2c Add google sign-in
Also, try to be a bit more correct with CSRF and CORS.
It works on my machine.
2025-08-06 15:28:41 +02:00

16 lines
507 B
Docker

FROM alpine:3.18
RUN apk --no-cache add python3 inkscape bash imagemagick ghostscript font-noto py3-pip
RUN pip3 install --break-system-packages django tzdata gunicorn google-api-python-client
ADD backend /zetikettes
RUN mkdir -p /usr/share/fonts/TTF \
&& cp /zetikettes/fonts/*.ttf /usr/share/fonts/TTF/ \
&& fc-cache -fv
# the script will look for templates in /data
WORKDIR /zetikettes/zetikettes
CMD /usr/bin/gunicorn zetikettes.wsgi -b 0.0.0.0:8000 --timeout 600 --forwarded-allow-ips="*"