Skip to content

Commit

Permalink
update cioos-records-update service packages
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyBarrette committed Jan 23, 2025
1 parent 8d89545 commit a3ae7fe
Show file tree
Hide file tree
Showing 5 changed files with 573 additions and 9 deletions.
1 change: 1 addition & 0 deletions cioos-records-update/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
7 changes: 4 additions & 3 deletions cioos-records-update/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM python:3
FROM python:3.12-bookworm

WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY pyproject.toml ./
RUN pip install uv
RUN uv pip install . --system
EXPOSE 8000
COPY . .

Expand Down
18 changes: 18 additions & 0 deletions cioos-records-update/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[project]
name = "cioos-records-update"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"firebase-to-xml",
"flask>=3.1.0",
"gunicorn>=23.0.0",
"metadata-xml",
"sentry-sdk[flask]>=2.20.0",
"werkzeug>=3.1.3",
]

[tool.uv.sources]
metadata-xml = { git = "https://github.com/cioos-siooc/metadata-xml.git" }
firebase-to-xml = { git = "https://github.com/cioos-siooc/metadata-entry-form.git", subdirectory = "firebase_to_xml", rev = "upgrade-cioos-records-update-dependancies" }
6 changes: 0 additions & 6 deletions cioos-records-update/requirements.txt

This file was deleted.

Loading

0 comments on commit a3ae7fe

Please sign in to comment.