jitsi / moderated-meetings

Jitsi Moderated Meetings microservice
Apache License 2.0
22 stars 14 forks source link

Docker Build Failed: COPY failed: file not found in build context or excluded by .dockerignore: stat build/run.sh: file does not exist #14

Closed sayali-bhavsar closed 3 years ago

sayali-bhavsar commented 3 years ago

When I tried to build image from Dockerfile. I faced this issue.

Step 13/16 : COPY --from=builder /opt/moderated-meetings/target/*.jar ./moderated-meetings.jar
 ---> Using cache
 ---> 55d270e66d61
Step 14/16 : COPY --from=builder /opt/moderated-meetings/public ./public
 ---> Using cache
 ---> d2cc177d25bd
Step 15/16 : COPY build/run.sh /
COPY failed: file not found in build context or excluded by .dockerignore: stat build/run.sh: file does not exist

Do I need to give my local Location for it.

saghul commented 3 years ago

@sawall You broke it here: https://github.com/jitsi/moderated-meetings/commit/0ad010b74ed653e19cb1e86a84cae074d49d9340

sawall commented 3 years ago

Huh. Looks like the .gitignore was hiding the /build directory from me when I cleaned up. I'll fix this up.

saghul commented 3 years ago

Thanks!