Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

### Changed

- Docker container runs as non-root user

## [6.1.0] - 2025-11-03

### Changed
Expand All @@ -15,7 +19,7 @@

- lower bounds for `hydraters` requirements
- `EXCLUDE_HYDRATE_MARKERS=TRUE/FALSE` (defaults to `TRUE`) to exclude `𒍟※` markers returned by PgSTAC
- python `3.13` and `3.14` support
- python `3.13` and `3.14` support

### removed

Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ RUN python -m pip install -U pip
WORKDIR /app

COPY stac_fastapi/ stac_fastapi/
COPY pyproject.toml pyproject.toml
COPY pyproject.toml pyproject.toml
COPY README.md README.md

RUN python -m pip install .[server]
RUN rm -rf stac_fastapi .toml README.md

RUN groupadd -g 1000 user && \
useradd -u 1000 -g user -s /bin/bash -m user
USER user

CMD ["uvicorn", "stac_fastapi.pgstac.app:app", "--host", "0.0.0.0", "--port", "8080"]
Loading