diff --git a/Dockerfile b/Dockerfile index ddaa4e4..38eb1f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/dev.Dockerfile b/dev.Dockerfile index 4587e19..4b4eab6 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -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