Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions handlers/hello-svg-handler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM python:3.10
FROM python:3.13

RUN apt-get install libcairo2 curl
RUN apt-get update && \
apt-get install -y --no-install-recommends libcairo2 curl ca-certificates && \
rm -rf /var/lib/apt/lists/*

RUN adduser --disabled-password python
WORKDIR /usr/src/app
Expand Down
8 changes: 5 additions & 3 deletions handlers/multistage-diagram-tactile-svg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM python:3.10
FROM python:3.13

RUN apt-get install libcairo2 curl
RUN apt-get update && \
apt-get install -y --no-install-recommends libcairo2 curl ca-certificates && \
rm -rf /var/lib/apt/lists/*

RUN adduser --disabled-password python
WORKDIR /usr/src/app
Expand All @@ -19,4 +21,4 @@ USER python

HEALTHCHECK --interval=60s --timeout=10s --start-period=120s --retries=5 CMD curl -f http://localhost:80/health || exit 1

CMD ["gunicorn", "tactile_svg:app", "-b", "0.0.0.0:80", "--capture-output", "--log-level=debug" ]
CMD ["gunicorn", "tactile_svg:app", "-b", "0.0.0.0:80", "--capture-output", "--log-level=debug" ]
7 changes: 5 additions & 2 deletions handlers/ocr-handler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM python:3.9.5-alpine
FROM python:3.13-slim

RUN apk add --no-cache curl && adduser --disabled-password python
RUN apt-get update && \
apt-get install -y --no-install-recommends curl ca-certificates && \
rm -rf /var/lib/apt/lists/* && \
adduser --disabled-password python

WORKDIR /app
ENV PATH="/home/python/.local/bin:${PATH}"
Expand Down
8 changes: 5 additions & 3 deletions handlers/photo-tactile-svg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM python:3.10
FROM python:3.13

RUN apt-get install libcairo2 curl
RUN apt-get update && \
apt-get install -y --no-install-recommends libcairo2 curl ca-certificates && \
rm -rf /var/lib/apt/lists/*

RUN adduser --disabled-password python
WORKDIR /usr/src/app
Expand All @@ -19,4 +21,4 @@ USER python

HEALTHCHECK --interval=60s --timeout=10s --start-period=120s --retries=5 CMD curl -f http://localhost:80/health || exit 1

CMD ["gunicorn", "tactile_svg:app", "-b", "0.0.0.0:80", "--capture-output", "--log-level=debug" ]
CMD ["gunicorn", "tactile_svg:app", "-b", "0.0.0.0:80", "--capture-output", "--log-level=debug" ]
6 changes: 4 additions & 2 deletions handlers/svg-depth-map/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM python:3.10
FROM python:3.13

RUN apt-get install libcairo2 curl
RUN apt-get update && \
apt-get install -y --no-install-recommends libcairo2 curl ca-certificates && \
rm -rf /var/lib/apt/lists/*

RUN adduser --disabled-password python
WORKDIR /usr/src/app
Expand Down
8 changes: 5 additions & 3 deletions handlers/svg-object-detection/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM python:3.10
FROM python:3.13

RUN apt-get install libcairo2 curl
RUN apt-get update && \
apt-get install -y --no-install-recommends libcairo2 curl ca-certificates && \
rm -rf /var/lib/apt/lists/*

RUN adduser --disabled-password python
WORKDIR /usr/src/app
Expand All @@ -19,4 +21,4 @@ USER python

HEALTHCHECK --interval=60s --timeout=10s --start-period=120s --retries=5 CMD curl -f http://localhost:80/health || exit 1

CMD ["gunicorn", "od_svg:app", "-b", "0.0.0.0:80", "--capture-output", "--log-level=debug" ]
CMD ["gunicorn", "od_svg:app", "-b", "0.0.0.0:80", "--capture-output", "--log-level=debug" ]
8 changes: 5 additions & 3 deletions handlers/svg-semantic-seg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM python:3.10
FROM python:3.13

RUN apt-get install libcairo2 curl
RUN apt-get update && \
apt-get install -y --no-install-recommends libcairo2 curl ca-certificates && \
rm -rf /var/lib/apt/lists/*

RUN adduser --disabled-password python
WORKDIR /usr/src/app
Expand All @@ -19,4 +21,4 @@ USER python

HEALTHCHECK --interval=60s --timeout=10s --start-period=120s --retries=5 CMD curl -f http://localhost:80/health || exit 1

CMD ["gunicorn", "sem_seg_svg:app", "-b", "0.0.0.0:80", "--capture-output", "--log-level=debug" ]
CMD ["gunicorn", "sem_seg_svg:app", "-b", "0.0.0.0:80", "--capture-output", "--log-level=debug" ]
Loading