Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build docker image devicehive-backend failed #545

Open
bhcuong2008 opened this issue Sep 19, 2021 · 0 comments
Open

Build docker image devicehive-backend failed #545

bhcuong2008 opened this issue Sep 19, 2021 · 0 comments

Comments

@bhcuong2008
Copy link

Hi,

I want to build a custom docker image of devicehive-backend, but not found devicehive-backend/target/devicehive-backend-3.5.0-boot.jar during docker build.

My current working dir: devicehive-java-server/dockerfiles
docker build -t <tagname> -f devicehive-backend.Dockerfile .

Error:

Step 6/11 : ADD devicehive-backend/target/devicehive-backend-${DH_VERSION}-boot.jar /opt/devicehive/
ADD failed: file not found in build context or excluded by .dockerignore: stat devicehive-backend/target/devicehive-backend-3.5.0-boot.jar: file does not exist

Please guide me where to find dir devicehive-backend/target containing devicehive-backend-3.5.0-boot.jar

Thank you very much.
Cuong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant