simonduerr commited on
Commit
9a2fd32
1 Parent(s): bb08748

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -3,13 +3,15 @@ FROM continuumio/miniconda3
3
  RUN useradd -m -u 1000 user
4
  WORKDIR /usr/src/app
5
  COPY --link --chown=1000 ./ /usr/src/app
6
- USER user
7
  COPY . .
8
 
9
  # install dependcies
10
  RUN conda install -y pandas numpy scikit-learn
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
13
 
14
  #do not modify below
15
  EXPOSE 7860
 
3
  RUN useradd -m -u 1000 user
4
  WORKDIR /usr/src/app
5
  COPY --link --chown=1000 ./ /usr/src/app
6
+
7
  COPY . .
8
 
9
  # install dependcies
10
  RUN conda install -y pandas numpy scikit-learn
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ #if you need to download executable and run them switch to the default non-root user
14
+ USER user
15
 
16
  #do not modify below
17
  EXPOSE 7860