Compare commits
9
Commits
readme
...
3114b6d1e1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3114b6d1e1 | ||
|
|
09fee968b3 | ||
|
|
ec80bda242 | ||
|
|
6a29b05320 | ||
|
|
0c9cc5ccd4 | ||
|
|
108ba31a1a | ||
|
|
1bed9cd5f8 | ||
|
|
3e0f13e49f | ||
|
|
a2c1477a09 |
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
.git
|
||||||
|
.venv
|
||||||
|
venv
|
||||||
|
__pycache__
|
||||||
|
*.pyc
|
||||||
|
*.db
|
||||||
|
*.sqlite3
|
||||||
|
data/
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
name: Docker Build & Push
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Code auschecken
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Bei Gitea Container Registry anmelden
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: http://localhost:3000
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ secrets.token }}
|
||||||
|
|
||||||
|
- name: Docker Image bauen und pushen
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: localhost:3000/rudi/tandur:latest
|
||||||
+6
-3
@@ -3,15 +3,18 @@ FROM python:3.12-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# WICHTIG: Ordner für die SQLite-Datenbank (damit die Daten bei Neustarts nicht gelöscht werden)
|
||||||
|
RUN mkdir -p /app/data
|
||||||
|
|
||||||
# Abhängigkeiten installieren
|
# Abhängigkeiten installieren
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir --upgrade pip && \
|
||||||
|
pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Deinen Code kopieren
|
# Deinen Code kopieren
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# WICHTIG: Ordner für die SQLite-Datenbank (damit die Daten bei Neustarts nicht gelöscht werden)
|
|
||||||
RUN mkdir -p /app/data
|
|
||||||
|
|
||||||
# Port freigeben
|
# Port freigeben
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|||||||
+59
-21
@@ -1,21 +1,59 @@
|
|||||||
annotated-doc==0.0.5
|
a2wsgi==1.10.10
|
||||||
annotated-types==0.8.0
|
argon2_cffi_bindings==25.1.0
|
||||||
anyio==4.14.2
|
argon2pure==1.3
|
||||||
certifi==2026.7.22
|
bcryptor==1.2.2
|
||||||
click==8.4.2
|
boto3==1.43.82
|
||||||
fastapi==0.141.1
|
brotli==1.2.0
|
||||||
greenlet==3.5.5
|
brotlicffi==1.2.0.2
|
||||||
h11==0.16.0
|
cffi==2.1.1
|
||||||
httpcore==1.0.9
|
chardet==7.6.0
|
||||||
httpx==0.28.1
|
colorama==0.4.6
|
||||||
idna==3.19
|
ConfigParser==7.2.0
|
||||||
Jinja2==3.1.6
|
cx_Oracle==8.3.0
|
||||||
MarkupSafe==3.0.3
|
cython==3.3.0
|
||||||
pydantic==2.13.4
|
docutils==0.23
|
||||||
pydantic_core==2.46.4
|
email_validator==2.3.0
|
||||||
SQLAlchemy==2.0.52
|
eval_type_backport==0.4.0
|
||||||
sqlmodel==0.0.39
|
exceptiongroup==1.3.1
|
||||||
starlette==1.6.0
|
fastapi_cli==0.0.32
|
||||||
typing-inspection==0.4.4
|
fastpbkdf2==0.2
|
||||||
typing_extensions==4.16.0
|
filelock==3.32.4
|
||||||
uvicorn==0.52.4
|
gunicorn==26.2.0
|
||||||
|
h2==4.4.1
|
||||||
|
HTMLParser==0.0.2
|
||||||
|
httptools==0.8.0
|
||||||
|
httpx2==2.12.0
|
||||||
|
hypothesis==6.165.10
|
||||||
|
importlib_metadata==9.0.0
|
||||||
|
ipython==9.16.1
|
||||||
|
ipywidgets==8.1.9
|
||||||
|
itsdangerous==2.2.0
|
||||||
|
jnius==1.1.0
|
||||||
|
js==1.0
|
||||||
|
keyring==25.7.0
|
||||||
|
nose==1.3.7
|
||||||
|
objgraph==3.6.2
|
||||||
|
outcome==1.3.0.post0
|
||||||
|
protobuf==7.36.0
|
||||||
|
psutil==7.2.2
|
||||||
|
pydantic_extra_types==2.11.1
|
||||||
|
pyodide==0.0.2
|
||||||
|
pyOpenSSL==26.4.0
|
||||||
|
pysqlcipher3==1.2.0
|
||||||
|
pytest==9.1.1
|
||||||
|
redis==8.1.0
|
||||||
|
setuptools==84.0.0
|
||||||
|
simplejson==4.1.2
|
||||||
|
sniffio==1.3.1
|
||||||
|
socksio==1.0.0
|
||||||
|
Sphinx==9.1.0
|
||||||
|
sqlcipher3==0.6.2
|
||||||
|
thread==2.0.6
|
||||||
|
types_boto3_secretsmanager==1.43.0
|
||||||
|
unittest2==1.1.0
|
||||||
|
watchfiles==1.2.0
|
||||||
|
winloop==0.6.3
|
||||||
|
wsproto==1.3.2
|
||||||
|
xmlrpclib==1.0.1
|
||||||
|
zstandard==0.25.0
|
||||||
|
zttp==0.0.28
|
||||||
Reference in new issue
Block a user