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

Setting up the project environment #272

Open
salamisodikiolawale opened this issue Oct 14, 2022 · 1 comment
Open

Setting up the project environment #272

salamisodikiolawale opened this issue Oct 14, 2022 · 1 comment

Comments

@salamisodikiolawale
Copy link

salamisodikiolawale commented Oct 14, 2022

🐛 Service 'myhome-service' failed to build : Build failed

I'm trying to Setting up the project environment.
After using "./gradlew enssemble" to generate jar files and docker-compose up --build I got these errors :

When using COPY with more than one source file, the destination must be a directory and end with a /
ERROR: Service 'myhome-service' failed to build : Build failed
@salamisodikiolawale
Copy link
Author

salamisodikiolawale commented Oct 26, 2022

Hello, actually i use an other way to build and up this project. Look current solution docker-file:

I replace this line :

ARG JAR_FILE=service/build/libs/*.jar
# COPY ${JAR_FILE} app.jar

To these lines :

COPY service/build/libs/myhome-service-2.0.0.jar app.jar
COPY service/build/libs/myhome-service-boot-2.0.0.jar app.jar

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