mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Merge pull request #3037 from TracksApp/dockerfile_git_req
Don't require the .git directory to exist for a successful Docker build.
This commit is contained in:
commit
7b9a1e322f
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ COPY lib /app/lib/
|
|||
COPY app /app/app/
|
||||
COPY db /app/db/
|
||||
|
||||
COPY .git /app/.git
|
||||
# Use glob to omit error if the .git directory doesn't exists (in case the
|
||||
# code is from a release archive, not a Git clone)
|
||||
COPY .gi[t] /app/.git
|
||||
|
||||
COPY Gemfile* /app/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue