diff --git a/Dockerfile b/Dockerfile index 204c536..d9cc9dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM python:3.9 +FROM python:3.11 # copy the prebuild wheels to the container COPY ./dist /wheels # update pip -RUN python -m pip install --upgrade pip +RUN python -m pip install --no-cache-dir --upgrade pip # install the wheels -RUN pip install --find-links=/wheels koi_api -RUN pip install waitress +RUN pip install --no-cache-dir --find-links=/wheels koi_api +RUN pip install --no-cache-dir waitress ENTRYPOINT [ "waitress-serve", "--port=8080", "--max-request-body-size=8589934592", "--call", "koi_api:create_app" ] \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index d012341..617d63d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,14 @@ requires = ["setuptools>=61.0.0"] build-backend = "setuptools.build_meta" [tool.setuptools] -packages = ["koi_api"] +packages = [ + "koi_api", + "koi_api.common", + "koi_api.config", + "koi_api.orm", + "koi_api.persistence", + "koi_api.resources" +] [project] name = "koi-api"