Skip to content

Build docker image devicehive-backend failed #545

Description

@bhcuong2008

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions