fix cloudron data directory permissions

This commit is contained in:
2026-04-12 12:16:59 +02:00
parent 24ebb26ffd
commit 31287813c8
2 changed files with 1 additions and 10 deletions
+1 -6
View File
@@ -6,17 +6,12 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
RUN useradd -r -m -d /home/cloudron -s /usr/sbin/nologin cloudron
COPY requirements.txt /app/code/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app/code
RUN chown -R cloudron:cloudron /app/code \
&& chmod +x /app/code/start.sh
USER cloudron
RUN chmod +x /app/code/start.sh
EXPOSE 8000