Skip to content

Commit

Permalink
chore: update base image, uvicorn, dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Aug 12, 2024
1 parent d9258eb commit d32df47
Show file tree
Hide file tree
Showing 4 changed files with 573 additions and 514 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.07.09
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.12

# Use uvicorn (instead of hypercorn) in production since I've found
# multiple benchmarks showing it to be faster - David L
RUN pip install --no-cache-dir "uvicorn[standard]==0.30.1"
RUN pip install --no-cache-dir "uvicorn[standard]==0.30.5"

WORKDIR /reference

Expand Down
4 changes: 2 additions & 2 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.07.09
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.12

LABEL org.opencontainers.image.description="Local development image for the Bento reference service."
LABEL devcontainer.metadata='[{ \
Expand All @@ -12,7 +12,7 @@ LABEL devcontainer.metadata='[{ \
}]'

# FastAPI uses uvicorn for a development server as well
RUN pip install --upgrade pip && pip install --no-cache-dir "uvicorn[standard]==0.30.1"
RUN pip install --upgrade pip && pip install --no-cache-dir "uvicorn[standard]==0.30.5"
WORKDIR /reference

COPY pyproject.toml .
Expand Down
Loading

0 comments on commit d32df47

Please sign in to comment.