mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Don't require the .git directory to exist for a successful Docker build.
This commit is contained in:
parent
8f7b1ab7b2
commit
d2fff6a64c
1 changed files with 3 additions and 1 deletions
|
|
@ -30,7 +30,9 @@ COPY lib /app/lib/
|
||||||
COPY app /app/app/
|
COPY app /app/app/
|
||||||
COPY db /app/db/
|
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/
|
COPY Gemfile* /app/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue