devicehive-java-server icon indicating copy to clipboard operation
devicehive-java-server copied to clipboard

Build docker image devicehive-backend failed

Open bhcuong2008 opened this issue 4 years ago • 0 comments

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.

bhcuong2008 avatar Sep 19 '21 04:09 bhcuong2008