Skip to content

Commit

Permalink
Merge pull request #546 from bento-platform/chore/update
Browse files Browse the repository at this point in the history
chore: update base image (with built-in uvicorn) + lockfile deps
  • Loading branch information
davidlougheed authored Oct 1, 2024
2 parents d98e546 + 74be841 commit c882714
Show file tree
Hide file tree
Showing 3 changed files with 606 additions and 580 deletions.
5 changes: 2 additions & 3 deletions bento.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.06.01
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.10.01

SHELL ["/bin/bash", "-c"]

# Install Postgres client for checking if database is ready
# Install Poetry for dependency management and uvicorn to serve the API
RUN apt-get update -y && \
apt-get install -y postgresql-client && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir "uvicorn[standard]==0.30.1"
rm -rf /var/lib/apt/lists/*

# Backwards-compatible with old BentoV2 container layout
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion bento.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.06.01
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.10.01

LABEL org.opencontainers.image.description="Local development image for Katsu."
LABEL devcontainer.metadata='[{ \
Expand Down
Loading

0 comments on commit c882714

Please sign in to comment.