derek-thomas commited on
Commit
4598cff
·
1 Parent(s): 899a8e6

Trying running after copying?

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -86,11 +86,10 @@ USER user
86
  # Python packages
87
  RUN --mount=target=requirements.txt,source=requirements.txt \
88
  pip install --no-cache-dir --upgrade -r requirements.txt
89
-
90
- RUN --mount=target=/home/user/on_startup_user.sh,source=on_startup_user.sh,readwrite \
91
- bash /home/user/on_startup_user.sh
92
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
93
  COPY --chown=user . $HOME/app
 
 
94
 
95
  RUN chmod +x start_server.sh
96
 
 
86
  # Python packages
87
  RUN --mount=target=requirements.txt,source=requirements.txt \
88
  pip install --no-cache-dir --upgrade -r requirements.txt
 
 
 
89
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
90
  COPY --chown=user . $HOME/app
91
+ RUN --mount=target=/home/user/app/on_startup_user.sh,source=on_startup_user.sh,readwrite \
92
+ bash /home/user/app/on_startup_user.sh
93
 
94
  RUN chmod +x start_server.sh
95