Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update base image (with built-in uvicorn) + lockfile deps #546

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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