release nouri 0.5.0 shopping rhythm pwa and reminders

This commit is contained in:
2026-04-12 16:39:04 +02:00
parent d8b56e6b67
commit 96ab52e1ba
37 changed files with 2199 additions and 285 deletions
+17 -6
View File
@@ -2,19 +2,30 @@ FROM python:3.13-slim
WORKDIR /app/code
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV PORT=8000
RUN apt-get update && apt-get install -y --no-install-recommends sqlite3 \
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
sqlite3 \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -r -m -d /home/cloudron cloudron
COPY requirements.txt /app/code/
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt gunicorn
COPY . /app/code
RUN chmod +x /app/code/start.sh
# Lokale Daten für den ersten Start sichern und danach /app/code/data auf /app/data zeigen lassen
RUN if [ -d /app/code/data ]; then mv /app/code/data /app/bootstrap-data; else mkdir -p /app/bootstrap-data; fi \
&& ln -s /app/data /app/code/data \
&& chmod +x /app/code/start.sh \
&& chown -R cloudron:cloudron /app/code /app/bootstrap-data \
&& chown -h cloudron:cloudron /app/code/data
USER cloudron
EXPOSE 8000