Admin Dashboard, Hilfe-Seite, Dockerfile Fixes (gunicorn, UID 1000, HOME)
This commit is contained in:
@@ -7,8 +7,9 @@ RUN pip install --no-cache-dir -r requirements.txt gunicorn
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN addgroup --system app && adduser --system --ingroup app --home /app app && \
|
||||
chown -R app:app /app
|
||||
RUN addgroup --system --gid 1000 app && adduser --system --uid 1000 --ingroup app app && \
|
||||
chown -R app:app /app && chmod -R u+w /app
|
||||
ENV HOME=/app
|
||||
USER app
|
||||
|
||||
EXPOSE 5005
|
||||
|
||||
Reference in New Issue
Block a user