sberk42/fritzbox_exporter

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

Opened this issue · 1 comments

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

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.