xihajun / issueGPT

An open-source toy attempt to embedding GPT-4 (GPT3.5) into GitHub issue.
4 stars 1 forks source link

[ChatGPT] Docker Issue #22

Open xihajun opened 1 year ago

xihajun commented 1 year ago

I have a docker issue, hope you can help

xihajun commented 1 year ago

77 | >>> COPY ../../../../local/mnt/workspace/datasets/imagenet ./imagenet 78 | # Preprocess (calibration data): Download full dataset and run calibration on 50,000 images 79 | RUN axs byname extractor , extract --archive_path=/workspace/datasets/dataset-imagenet-ilsvrc2012-val.tar --tags,=extracted,imagenet --strip_components=1 --dataset_size=50000

ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref moby::lag9cqd3f9eb80nlzahmo2wcx: "/local/mnt/workspace/datasets/imagenet": not found

github-actions[bot] commented 1 year ago

It seems that the file or directory "../../../../../local/mnt/workspace/datasets/imagenet" is not found in your current context. This is causing the COPY command in your Dockerfile to fail.

Make sure that the file or directory you are trying to copy exists in the correct location relative to your Dockerfile. Double-check the path "../../../../../local/mnt/workspace/datasets/imagenet" to ensure it is accurate and accessible.

Additionally, ensure that the file or directory you are trying to copy is included in your Docker build context. The build context is the set of files and directories that are available to be copied into the Docker image. If the file or directory is outside of the build context, it will not be accessible during the build process.

If the file or directory is located on the host machine, you may need to adjust your build context or use a volume mount to make it accessible to the Docker build.

Verify these details and try running the Docker build again.