derek-thomas
commited on
Commit
·
70ccfe7
1
Parent(s):
5101dda
Trying to make script work on /data
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -87,7 +87,7 @@ USER user
|
|
| 87 |
RUN --mount=target=requirements.txt,source=requirements.txt \
|
| 88 |
pip install --no-cache-dir --upgrade -r requirements.txt
|
| 89 |
|
| 90 |
-
RUN --mount=target
|
| 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
|
|
|
|
| 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
|