Spaces:
Build error
Build error
Hannes Kath
commited on
Commit
·
b2e560e
1
Parent(s):
fe64f00
change Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -47,6 +47,7 @@ ENV NAME Acoustic
|
|
| 47 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 48 |
COPY --chown=user . $HOME/git_app
|
| 49 |
|
|
|
|
| 50 |
RUN git config --global --add safe.directory /git_app
|
| 51 |
|
| 52 |
# Run your application
|
|
|
|
| 47 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 48 |
COPY --chown=user . $HOME/git_app
|
| 49 |
|
| 50 |
+
# add directory /git_app to the save list so that it is possible to get branch, hash, tag
|
| 51 |
RUN git config --global --add safe.directory /git_app
|
| 52 |
|
| 53 |
# Run your application
|