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

Create from Dockerfile - metrics.json / metrics-lua.json cannot be copied #23

Open
LordVoodoo opened this issue Jan 15, 2023 · 1 comment

Comments

@LordVoodoo
Copy link

Hello,

tried to set up the container via the Dockerfile. The Container creation terminates at step 4:

Step 4/17 : COPY metrics.json metrics-lua.json /app/ ERROR: Service 'fritzbox_exporter' failed to build: COPY failed: file not found in build context or excluded by .dockerignore: stat metrics.json: file does not exist

micxer pushed a commit to micxer/fritzbox_exporter that referenced this issue Sep 4, 2023
@tom-jm69
Copy link

Copy both metrics.json and metrics-lua.json into your local directory and try to build again. This fixed it for me.
Seems like both are supposed to be downloaded.

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