Skip to content

Commit

Permalink
chore: use latest base image
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Feb 27, 2023
1 parent 4234e14 commit 826115c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2023.02.21
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2023.02.27

# 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 poetry==1.3.2 "uvicorn[standard]==0.20.0"
RUN pip install --no-cache-dir "uvicorn[standard]==0.20.0"

# Backwards-compatible with old BentoV2 container layout
WORKDIR /drop-box
Expand Down
7 changes: 3 additions & 4 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2023.02.21
FROM ghcr.io/bento-platform/bento_base_image:python-debian-2023.02.27

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

RUN python -m venv /env && \
source /env/bin/activate && \
pip install --no-cache-dir poetry==1.3.2 "uvicorn[standard]==0.20.0"
RUN source /env/bin/activate && \
pip install --no-cache-dir "uvicorn[standard]==0.20.0"

# Backwards-compatible with old BentoV2 container layout
WORKDIR /drop-box
Expand Down

0 comments on commit 826115c

Please sign in to comment.