Skip to content

Commit

Permalink
chore: update base image, lockfile deps; bump ver to 0.19.7
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Sep 18, 2024
1 parent e6253ea commit db49491
Show file tree
Hide file tree
Showing 4 changed files with 662 additions and 631 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.12
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.09.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.30.5"

WORKDIR /aggregation

COPY pyproject.toml .
Expand Down
4 changes: 1 addition & 3 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.08.12
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.09.01

LABEL org.opencontainers.image.description="Local development image the Bento aggregation service."
LABEL devcontainer.metadata='[{ \
Expand All @@ -14,8 +14,6 @@ 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.30.5"

WORKDIR /aggregation

COPY pyproject.toml .
Expand Down
Loading

0 comments on commit db49491

Please sign in to comment.