Doku aktualisiert
This commit is contained in:
@@ -7,10 +7,13 @@ RUN pip install --no-cache-dir -r requirements.txt gunicorn
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN addgroup --system --gid 1000 app && adduser --system --uid 1000 --ingroup app --home /home/app app && \
|
||||
mkdir -p /home/app && chown app:app /home/app && \
|
||||
chown -R app:app /app && chmod -R u+w /app
|
||||
RUN addgroup --system --gid 1000 app && \
|
||||
adduser --system --uid 1000 --ingroup app --disabled-password --disabled-login --no-create-home app && \
|
||||
chown -R app:app /app && chmod -R u+w /app && \
|
||||
find / -perm /4000 -o -perm /2000 2>/dev/null | xargs -r chmod ug-s
|
||||
|
||||
USER app
|
||||
ENV HOME=/tmp
|
||||
|
||||
EXPOSE 5005
|
||||
|
||||
|
||||
Reference in New Issue
Block a user