Kripton12 commited on
Commit
1ead1ee
·
verified ·
1 Parent(s): 7f915b9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -6,6 +6,11 @@ ENV PYTHONUNBUFFERED="1"
6
  ENV PORT="8888"
7
  # Set the working directory in the container to /app
8
  WORKDIR /app
 
 
 
 
 
9
 
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir mediaflow-proxy
 
6
  ENV PORT="8888"
7
  # Set the working directory in the container to /app
8
  WORKDIR /app
9
+ RUN useradd -m AppUser
10
+ RUN chown -R AppUser:AppUser /app
11
+
12
+ ENV PATH="/home/AppUser/.local/bin:$PATH"
13
+ USER AppUser
14
 
15
  # Install any needed packages specified in requirements.txt
16
  RUN pip install --no-cache-dir mediaflow-proxy