build: Umstellung auf Jannik-Cloud Ziel-Workflow mit Gitea Container Registry
This commit is contained in:
1 parent
39451db99b
commit
9658cddef2
3 files changed
+10
-4
No files matched your search
@@ -5,3 +5,9 @@ data/temp/*
|
|||||||
data/renders/*
|
data/renders/*
|
||||||
data/uploads/*
|
data/uploads/*
|
||||||
*.log
|
*.log
|
||||||
|
test_*
|
||||||
|
frame.png
|
||||||
|
*.bat
|
||||||
|
*.ps1
|
||||||
|
refactor.py
|
||||||
|
temp_presets.js
|
||||||
+2
-2
@@ -17,10 +17,10 @@ RUN npm ci --omit=dev || npm install --omit=dev
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Ensure storage directories exist
|
# Ensure storage directories exist
|
||||||
RUN mkdir -p data/temp data/uploads data/renders
|
RUN mkdir -p data/temp data/uploads data/renders /data/temp /data/uploads /data/renders
|
||||||
|
|
||||||
# Rechte an den built-in 'node' User (UID 1000) übergeben und User wechseln
|
# Rechte an den built-in 'node' User (UID 1000) übergeben und User wechseln
|
||||||
RUN chown -R node:node /app
|
RUN chown -R node:node /app /data
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
description: Deployment procedures for the Viz project
|
description: Deployment procedures for the Viz project
|
||||||
trigger: always_on
|
trigger: always_on
|
||||||
---
|
---
|
||||||
|
|
||||||
# Viz Deployment Rule
|
# Viz Deployment Rule
|
||||||
Wenn du Änderungen am Viz-Projekt vornimmst, denke daran, nach dem Git Push auch den CACHE_BUST im Jannik-Cloud Repository unter `services/viz/build.Dockerfile` zu aktualisieren und in Git zu pushen, damit das Deploy-Skript auf dem Server das neue Image baut.
|
Das Viz-Projekt nutzt den Jannik-Cloud Ziel-Workflow (Gitea Container Registry). Nach Änderungen am Viz-Projekt wird das Image lokal als `git.orfel.de/jannik/viz:latest` gebaut und direkt in die Gitea Container Registry gepusht. Der Server zieht sich das fertige Image automatisch.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user