robocan commited on
Commit
c977e3c
·
1 Parent(s): 08d288b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -57,7 +57,7 @@ RUN curl -sLo ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-py39
57
  && rm ~/miniconda.sh \
58
  && conda clean -ya
59
  USER root
60
- RUN chmod 777 ~/*
61
  USER user
62
  WORKDIR $HOME/app
63
 
@@ -88,7 +88,7 @@ RUN --mount=target=requirements.txt,source=requirements.txt \
88
  pip install --no-cache-dir --upgrade -r requirements.txt
89
 
90
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
91
- COPY --chown=user . $HOME
92
 
93
  RUN chmod +x start_server.sh
94
 
 
57
  && rm ~/miniconda.sh \
58
  && conda clean -ya
59
  USER root
60
+ RUN chmod 777 /home/*
61
  USER user
62
  WORKDIR $HOME/app
63
 
 
88
  pip install --no-cache-dir --upgrade -r requirements.txt
89
 
90
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
91
+ COPY --chown=user . $HOME/app
92
 
93
  RUN chmod +x start_server.sh
94