Skip to content

Commit

Permalink
Merge pull request #66 from bento-platform/chore/update
Browse files Browse the repository at this point in the history
chore: update base image, lockfile deps; bump ver to 0.19.7
  • Loading branch information
davidlougheed authored Sep 18, 2024
2 parents e6253ea + db49491 commit 2e60119
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 2e60119

Please sign in to comment.