Closed hahamini closed 2 months ago
Thanks for taking the time to provide all these details!
I won’t be able to reproduce and debug this for several days. I’d suggest enabling logging from batch-cluster and this library: I suspect that either your PATH doesn’t include perl (and necessary perl libraries).
You can also try manually running node_modules/exiftool-vendored.pl/bin/exiftool -ver
from within your project directory within your docker container to verify things are ok in there.
@mceachen
Based on your advice, I found the cause.
I wrote Dockerfile using multistage, but the build result did not include exiftool-vendored.pl
.
npm run build
# No exiftool-vendored.pl in build directory .next/standalone/node_modules.
I don't know why.
So I solved it by adding the following code to my Dockerfile.
COPY --from=builder --chown=nextjs:nodejs /app/node_modules/exiftool-vendored.pl ./node_modules/exiftool-vendored.pl
Thanks
I'm trying to use
exiftool-vendored
withdocker
anddocker compose
. However, there appears to be a bug that causes it to stop when calling Exiftool. Probably similar to issue #152, but it doesn't work even thoughPerl
is installed.Perl check
package.json
Dockerfile
docker-compose