Skip to content

Commit

Permalink
Merge pull request #22 from bento-platform/chore/update
Browse files Browse the repository at this point in the history
chore: update base image and lockfile deps
  • Loading branch information
davidlougheed authored Aug 27, 2024
2 parents 7853cdb + 74cc76c commit fbe2c77
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 30 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
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.6"
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.14

WORKDIR /reference

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.08.14

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

COPY pyproject.toml .
Expand Down
45 changes: 23 additions & 22 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fbe2c77

Please sign in to comment.