Added explicit user handling to Containerfile
This commit is contained in:
@@ -8,4 +8,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
#RUN mkdir -p /rmmanager/temp \
|
||||
# && chown 1000:1000 /rmmanager/temp \
|
||||
# && chmod 700 /rmmanager/temp
|
||||
|
||||
USER 1000:1000
|
||||
|
||||
ENTRYPOINT python -u initialize.py
|
||||
|
||||
Reference in New Issue
Block a user