Files
fuj-management/build/Dockerfile
Jan Novak 9ee2dd782d
All checks were successful
Deploy to K8s / deploy (push) Successful in 10s
Build and Push / build (push) Successful in 30s
fix: add missing qrcode and pillow dependencies to Dockerfile and pyproject.toml
This fixes the 'ModuleNotFoundError: No module named qrcode' error in the container.
Updated pyproject.toml version to 0.10.

Co-authored-by: Antigravity <antigravity@google.com>
2026-03-02 22:57:15 +01:00

32 lines
675 B
Docker

FROM python:3.13-alpine
RUN apk add --no-cache bash tzdata \
&& cp /usr/share/zoneinfo/Europe/Prague /etc/localtime \
&& echo "Europe/Prague" > /etc/timezone
ENV PYTHONUNBUFFERED=1
WORKDIR /app
RUN pip install --no-cache-dir \
flask \
google-api-python-client \
google-auth-httplib2 \
google-auth-oauthlib \
qrcode \
pillow
COPY app.py Makefile ./
COPY scripts/ ./scripts/
COPY templates/ ./templates/
COPY build/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 5001
HEALTHCHECK --interval=60s --timeout=5s --start-period=5s \
CMD wget -q -O /dev/null http://localhost:5001/ || exit 1
ENTRYPOINT ["/entrypoint.sh"]