Compare commits

...

2 commits

4 changed files with 36 additions and 2 deletions

View file

@ -12,7 +12,7 @@ RUN apk add --no-cache cairo font-dejavu \
&& addgroup -S app \ && addgroup -S app \
&& adduser -S -G app app && adduser -S -G app app
COPY pyproject.toml uv.lock README.md ./ COPY pyproject.toml uv.lock README.md LICENSE ./
COPY src ./src COPY src ./src
RUN apk add --no-cache --virtual .build-deps build-base libffi-dev \ RUN apk add --no-cache --virtual .build-deps build-base libffi-dev \
&& uv sync --locked --no-dev --no-editable \ && uv sync --locked --no-dev --no-editable \

28
LICENSE Normal file
View file

@ -0,0 +1,28 @@
BSD 3-Clause License
Copyright (c) 2026, Bradan J. Wolbeck
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -98,3 +98,7 @@ directly from a browser or CDN cache do not reach the app or consume its quotas.
Each Gunicorn worker maintains its own cache and rate-limit counters. Defaults Each Gunicorn worker maintains its own cache and rate-limit counters. Defaults
are configured in `src/app/config.py`. are configured in `src/app/config.py`.
## License
Licensed under the [BSD 3-Clause License](LICENSE).

View file

@ -1,8 +1,10 @@
[project] [project]
name = "app" name = "app"
version = "0.1.0" version = "0.1.0"
description = "Add your description here" description = "Placeholder image API with configurable dimensions and font size."
readme = "README.md" readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [ authors = [
{ name = "Bradan J. Wolbeck", email = "bwolbeck@compaqdisc.com" } { name = "Bradan J. Wolbeck", email = "bwolbeck@compaqdisc.com" }
] ]