mirror of
https://github.com/flibusta-apps/telegram_files_server.git
synced 2025-12-06 12:35:39 +01:00
Fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/flibusta-apps/base_docker_images:3.11-postgres-asyncpg-poetry-buildtime as build-image
|
FROM ghcr.io/flibusta-apps/base_docker_images:3.11-poetry-buildtime AS build-image
|
||||||
|
|
||||||
WORKDIR /root/poetry
|
WORKDIR /root/poetry
|
||||||
COPY pyproject.toml poetry.lock /root/poetry/
|
COPY pyproject.toml poetry.lock /root/poetry/
|
||||||
@@ -10,7 +10,7 @@ RUN poetry export --without-hashes > requirements.txt \
|
|||||||
&& pip install -r requirements.txt --no-cache-dir
|
&& pip install -r requirements.txt --no-cache-dir
|
||||||
|
|
||||||
|
|
||||||
FROM ghcr.io/flibusta-apps/base_docker_images:3.11-postgres-runtime as runtime-image
|
FROM ghcr.io/flibusta-apps/base_docker_images:3.11-postgres-runtime AS runtime-image
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import enum
|
import enum
|
||||||
from typing import TypedDict
|
|
||||||
|
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
from typing_extensions import TypedDict
|
||||||
|
|
||||||
|
|
||||||
class UploadBackend(enum.StrEnum):
|
class UploadBackend(enum.StrEnum):
|
||||||
|
|||||||
2
poetry.lock
generated
2
poetry.lock
generated
@@ -1068,4 +1068,4 @@ files = [
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.11"
|
python-versions = "^3.11"
|
||||||
content-hash = "df8b3847a1f4b72fa0116f537bfaaf9a0ddae55b6b2e56cab14c84739406c69f"
|
content-hash = "9b4e100d7087c4ac7e5f1838f53e4addc813967f0db5a780fefbfc547b4a3dfd"
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ uvloop = "^0.17.0"
|
|||||||
orjson = "^3.9.2"
|
orjson = "^3.9.2"
|
||||||
sentry-sdk = "^1.29.2"
|
sentry-sdk = "^1.29.2"
|
||||||
pydantic-settings = "^2.0.2"
|
pydantic-settings = "^2.0.2"
|
||||||
|
typing-extensions = "^4.7.1"
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
pytest = "^7.2.0"
|
pytest = "^7.2.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user