-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from spectriclabs/feat-pydantic-params
Update dependancies and clear CVE's
- Loading branch information
Showing
6 changed files
with
65 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ COPY elastic_datashader /build/elastic_datashader | |
WORKDIR /build/elastic_datashader | ||
RUN poetry build | ||
|
||
FROM python:3.11 AS deployment | ||
FROM python:3.11-slim AS deployment | ||
LABEL maintainer="[email protected]" | ||
RUN useradd -d /home/datashader datashader && \ | ||
mkdir -p /home/datashader /opt/elastic_datashader/tms-cache && \ | ||
|
@@ -23,8 +23,8 @@ COPY --from=builder /build/dist/*.whl /home/datashader/tmp/ | |
ENV PATH="$PATH:/home/datashader/.local/bin" | ||
RUN pip install --upgrade pip && \ | ||
pip install --no-cache-dir /home/datashader/tmp/*.whl && \ | ||
pip install gunicorn==20.1.0 && \ | ||
pip install uvicorn==0.22.0 | ||
pip install gunicorn==21.2.0 && \ | ||
pip install uvicorn==0.24.0 | ||
|
||
COPY deployment/logging_config.yml /opt/elastic_datashader/ | ||
COPY deployment/gunicorn_config.py /opt/elastic_datashader/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters