dockerfile verbessert
This commit is contained in:
@@ -7,7 +7,7 @@ RUN pip install --no-cache-dir -r requirements.txt gunicorn
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN addgroup --system app && adduser --system --ingroup app app && \
|
RUN addgroup --system app && adduser --system --ingroup app --home /app app && \
|
||||||
chown -R app:app /app
|
chown -R app:app /app
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user