File tree 1 file changed +7
-2
lines changed
App/functions/report-python-cloud-run
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,14 @@ ADD . /app
38
38
RUN --mount=type=cache,target=/root/.cache/uv \
39
39
uv sync --frozen --no-dev
40
40
41
+ # Accept EULA and install Microsoft fonts (including Arial)
42
+ RUN apt-get update && \
43
+ echo "deb http://deb.debian.org/debian bookworm contrib non-free" > /etc/apt/sources.list.d/contrib.list && \
44
+ apt-get update && \
45
+ echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections && \
46
+ apt-get install -y ttf-mscorefonts-installer
47
+
41
48
# Place executables in the environment at the front of the path
42
49
ENV PATH="/app/.venv/bin:$PATH"
43
50
44
- # CMD uv run --with waitress waitress-serve main:app
45
- # CMD uv run python main.py
46
51
CMD uv run --with gunicorn gunicorn --bind :8080 --workers 1 --threads 8 --timeout 0 main:app
You can’t perform that action at this time.
0 commit comments