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
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ Full changelog: https://stac-utils.github.io/stac-fastapi/migrations/v3.0.0/#cha
### Added

* Nginx service as second docker-compose stack to demonstrate proxy ([#503](https://github.com/stac-utils/stac-fastapi/pull/503))
* Validation checks in CI using [stac-api-validator](github.com/stac-utils/stac-api-validator) ([#508](https://github.com/stac-utils/stac-fastapi/pull/508))
* Validation checks in CI using [stac-api-validator](https://github.com/stac-utils/stac-api-validator) ([#508](https://github.com/stac-utils/stac-fastapi/pull/508))
* Required links to the sqlalchemy ItemCollection endpoint ([#508](https://github.com/stac-utils/stac-fastapi/pull/508))
* Publication of docker images to GHCR ([#525](https://github.com/stac-utils/stac-fastapi/pull/525))

Expand Down
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim as base
FROM python:3.12-slim AS base

# Any python libraries that require system libraries to be installed will likely
# need the following packages in order to build
Expand All @@ -10,12 +10,13 @@ RUN apt-get update && \

ENV CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

FROM base as builder
FROM base AS builder

WORKDIR /app

COPY . /app

RUN python -m pip install -e ./stac_fastapi/types[dev] && \
python -m pip install -e ./stac_fastapi/api[dev] && \
python -m pip install -e ./stac_fastapi/extensions[dev]
RUN python -m pip install \
-e ./stac_fastapi/types[dev] \
-e ./stac_fastapi/api[dev] \
-e ./stac_fastapi/extensions[dev]
6 changes: 4 additions & 2 deletions Dockerfile.docs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM python:3.11-slim
FROM python:3.12-slim

# build-essential is required to build a wheel for ciso8601
RUN apt update && apt install -y build-essential
RUN apt update && apt install -y build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN python -m pip install --upgrade pip

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ install:

.PHONY: docs-image
docs-image:
docker compose -f docker-compose.docs.yml \
docker compose -f compose.docs.yml \
build

.PHONY: docs
docs: docs-image
docker compose -f docker-compose.docs.yml \
docker compose -f compose.docs.yml \
run docs

.PHONY: test
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ Other backends may be available from other sources, search [PyPI](https://pypi.o
Install the packages in editable mode:

```shell
python -m pip install -e \
'stac_fastapi/types[dev]' \
'stac_fastapi/api[dev]' \
'stac_fastapi/extensions[dev]'
python -m pip install \
-e 'stac_fastapi/types[dev]' \
-e 'stac_fastapi/api[dev]' \
-e 'stac_fastapi/extensions[dev]'
```

To run the tests:
Expand Down
File renamed without changes.
Loading