Skip to content

Commit

Permalink
fixed versioning and image
Browse files Browse the repository at this point in the history
  • Loading branch information
dorukgezici committed Oct 14, 2024
1 parent 18f4f88 commit c3687c5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.12-alpine AS base
FROM python:3.12 AS base
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
WORKDIR /app
COPY pyproject.toml uv.lock README.md ./
COPY subabot/__init__.py pyproject.toml uv.lock README.md ./
RUN uv sync --frozen

FROM base AS runtime
Expand Down
4 changes: 2 additions & 2 deletions backend/Dockerfile.prefect
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM prefecthq/prefect:3.0.9.dev1-python3.12-kubernetes AS base
FROM prefecthq/prefect:3.0.8-python3.12-kubernetes AS base
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
WORKDIR /app
COPY pyproject.toml uv.lock README.md ./
COPY subabot/__init__.py pyproject.toml uv.lock README.md ./
RUN uv sync --frozen

FROM base AS runtime
Expand Down
2 changes: 1 addition & 1 deletion backend/prefect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Generic metadata about this project
name: subabot
prefect-version: 3.0.9dev1
prefect-version: 3.0.8

# build section allows you to manage and build docker images
build:
Expand Down
6 changes: 3 additions & 3 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = [
"python-multipart>=0.0.12",
"python-slugify>=8.0.4",
"slack_sdk>=3.33.1",
"prefect>=3.0.9dev1",
"prefect==3.0.8",
"supabase>=2.9.0",
"sqlmodel>=0.0.22",
"python-dotenv>=1.0.1",
Expand All @@ -38,8 +38,8 @@ format = "ruff format"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.sdist]
include = ["/subabot", "/tests"]
[tool.hatch.build.targets.wheel]
packages = ["/subabot", "/tests"]

[tool.pyright]
venvPath = "."
Expand Down
8 changes: 4 additions & 4 deletions backend/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c3687c5

Please sign in to comment.