fix cloudron data permissions on startup
This commit is contained in:
+2
-1
@@ -11,7 +11,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
sqlite3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN useradd -r -m -d /home/cloudron cloudron
|
||||
RUN groupadd --gid 1000 cloudron \
|
||||
&& useradd --uid 1000 --gid 1000 --create-home --home-dir /home/cloudron cloudron
|
||||
|
||||
COPY requirements.txt /app/code/
|
||||
RUN pip install --no-cache-dir -r requirements.txt gunicorn
|
||||
|
||||
Reference in New Issue
Block a user