Compare commits

..

3 Commits

Author SHA1 Message Date
daniel156161 52f8e78e78 update dockerfile to use uv for packages and to run the server
Build and Push Docker Container / build-and-push (push) Successful in 1m27s
2025-10-31 13:44:50 +01:00
daniel156161 b93969a6c4 update my submodules 2025-10-31 13:42:57 +01:00
daniel156161 fea1cb12c5 add uv package manager files 2025-10-31 13:42:37 +01:00
7 changed files with 1333 additions and 13 deletions
+1
View File
@@ -0,0 +1 @@
3.13
+6 -11
View File
@@ -1,20 +1,15 @@
FROM python:3.13-slim FROM python:3.14-slim
RUN apt-get update && \ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
apt-get install -y --no-install-recommends \
libssl-dev && \
rm -rf /var/lib/apt/lists/*
# Install app # Install app
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
VOLUME ["/app/uploads"]
# Install dependencies # Install dependencies
RUN pip install --upgrade pip && \ RUN uv sync --locked --compile-bytecode
pip install --root-user-action=ignore -r requirements.txt
EXPOSE 8000
# Starten Sie Ihre Anwendung # Starten Sie Ihre Anwendung
CMD ["hypercorn", "run:app", "--bind", "0.0.0.0:8000", "--workers", "1", "--websocket-ping-interval", "20", "--access-logfile", "-"] EXPOSE 8000
CMD ["uv", "run", "hypercorn", "run:app", "--bind", "0.0.0.0:8000", "--workers", "1", "--websocket-ping-interval", "20", "--access-logfile", "-"]
View File
+72
View File
@@ -0,0 +1,72 @@
[project]
name = "simple-picoshare"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"aiofiles==25.1.0",
"aiohappyeyeballs==2.6.1",
"aiohttp==3.13.1",
"aiologger==0.7.0",
"aiosignal==1.4.0",
"anyio==4.11.0",
"attrs==25.4.0",
"authlib==1.6.5",
"blinker==1.9.0",
"certifi==2025.10.5",
"cffi==2.0.0",
"click==8.3.0",
"cryptography==46.0.3",
"deprecated==1.2.18",
"dotenv==0.9.9",
"flask==3.1.2",
"flask-limiter==4.0.0",
"frozenlist==1.8.0",
"gel==3.1.0",
"h11==0.16.0",
"h2==4.3.0",
"hpack==4.1.0",
"httpcore==1.0.9",
"httpx==0.28.1",
"hypercorn==0.17.3",
"hyperframe==6.1.0",
"idna==3.11",
"itsdangerous==2.2.0",
"jinja2==3.1.6",
"limits==5.6.0",
"markdown-it-py==4.0.0",
"markupsafe==3.0.3",
"mdurl==0.1.2",
"msgpack==1.1.2",
"multidict==6.7.0",
"ordered-set==4.1.0",
"packaging==25.0",
"pip-autoremove==0.10.0",
"priority==2.0.0",
"propcache==0.4.1",
"pycparser==2.23",
"pygments==2.19.2",
"pyjwt==2.10.1",
"python-dotenv==1.1.1",
"quart==0.20.0",
"quart-flask-patch==0.3.0",
"quart-session",
"redis==7.0.0",
"rich==14.2.0",
"setuptools==80.9.0",
"sniffio==1.3.1",
"typing-extensions==4.15.0",
"werkzeug==3.1.3",
"wrapt==1.17.3",
"wsproto==1.2.0",
"yarl==1.22.0",
]
[tool.uv.workspace]
members = [
"quart-session",
]
[tool.uv.sources]
quart-session = { workspace = true }
Generated
+1252
View File
File diff suppressed because it is too large Load Diff