diff --git a/.dockerignore b/.dockerignore index 21569b8..487af5d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,3 +4,5 @@ fly.toml .env *.log .DS_Store +venv/ + diff --git a/Dockerfile b/Dockerfile index d892770..b522562 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG PYTHON_VERSION=3.12-bookworm +ARG PYTHON_VERSION=3.12-slim-bookworm FROM python:${PYTHON_VERSION} @@ -13,7 +13,9 @@ COPY requirements.txt /tmp/requirements.txt RUN apt-get update && \ apt-get upgrade -y && \ - apt-get install -y curl + apt-get install -y curl && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* RUN set -ex && \ pip install --upgrade pip && \ diff --git a/requirements.txt b/requirements.txt index 329bd13..e46c86c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,5 +9,5 @@ pytz==2023.3.post1 six==1.16.0 sqlparse==0.4.4 python-dotenv==1.0.0 -mmh3==3.1.0 +mmh3==4.1.0 numpy==1.26.1