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

Errors run ConfigHub using docker-compose #184

Open
kvasilevko opened this issue Feb 2, 2022 · 1 comment
Open

Errors run ConfigHub using docker-compose #184

kvasilevko opened this issue Feb 2, 2022 · 1 comment

Comments

@kvasilevko
Copy link

kvasilevko commented Feb 2, 2022

I download ConfigHubPlatform

# wget https://github.com/ConfigHubPub/ConfigHubPlatform/archive/refs/heads/master.zip

unpacked into a directory ConfigHubPub/

# cd ConfigHubPub
# docker-compose up

and geting error:

Step 7/9 : COPY        rest/target/ROOT.war /
ERROR: Service 'confighub' failed to build: COPY failed: file not found in build context or excluded by .dockerignore: stat rest/target/ROOT.war: file does not exist

My OS and env:

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
# docker-compose version
docker-compose version 1.25.0, build unknown
docker-py version: 4.1.0
CPython version: 3.8.10
OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
@rgeil-belvedere
Copy link
Contributor

As I understand, the docker-compose is for development. You first need to build the ROOT.war, using mvn install in the root directory, then can run docker-compose build to copy the generated .war file, then docker-compose up to actually launch the database and application

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

2 participants