yvesnieto commited on
Commit
eb9575a
1 Parent(s): 61c2097

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -4,10 +4,14 @@ WORKDIR /code
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
 
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
 
 
11
  EXPOSE 7860
12
 
13
  CMD ["shiny", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]
 
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
+ RUN chown -R user:user /code
8
+
9
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
10
 
11
  COPY . .
12
 
13
+ COPY --chown=user:user . /code
14
+
15
  EXPOSE 7860
16
 
17
  CMD ["shiny", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"]