Skip to content

Commit

Permalink
Merge pull request #60 from bento-platform/chore/update
Browse files Browse the repository at this point in the history
chore: update base image, uvicorn, lockfile deps
  • Loading branch information
davidlougheed authored Jun 3, 2024
2 parents b78e9ce + db0201d commit 4e4d0f8
Show file tree
Hide file tree
Showing 5 changed files with 260 additions and 260 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.05.01
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.06.01

# Run as root in the Dockerfile until we drop down to the service user in the entrypoint
USER root

# 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.29.0"
RUN pip install --no-cache-dir "uvicorn[standard]==0.30.1"

WORKDIR /aggregation

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.05.01
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.06.01

LABEL org.opencontainers.image.description="Local development image the Bento aggregation service."
LABEL devcontainer.metadata='[{ \
Expand All @@ -14,7 +14,7 @@ LABEL devcontainer.metadata='[{ \
# Run as root in the Dockerfile until we drop down to the service user in the entrypoint
USER root

RUN pip install --no-cache-dir "uvicorn[standard]==0.29.0"
RUN pip install --no-cache-dir "uvicorn[standard]==0.30.1"

WORKDIR /aggregation

Expand Down
Loading

0 comments on commit 4e4d0f8

Please sign in to comment.