update dockerfile
All checks were successful
Build and Push Docker Image / build (push) Successful in 54s
All checks were successful
Build and Push Docker Image / build (push) Successful in 54s
This commit is contained in:
@@ -49,6 +49,7 @@ COPY --from=deps /app/node_modules/@img ./node_modules/@img
|
|||||||
# so the standalone file tracer never discovers src/worker-script/node/. Copy the
|
# so the standalone file tracer never discovers src/worker-script/node/. Copy the
|
||||||
# full package so that path resolves correctly at runtime.
|
# full package so that path resolves correctly at runtime.
|
||||||
COPY --from=deps /app/node_modules/tesseract.js ./node_modules/tesseract.js
|
COPY --from=deps /app/node_modules/tesseract.js ./node_modules/tesseract.js
|
||||||
|
COPY --from=deps /app/node_modules/tesseract.js-core ./node_modules/tesseract.js-core
|
||||||
|
|
||||||
# Create thumbnail cache directory (mounted as a volume in production)
|
# Create thumbnail cache directory (mounted as a volume in production)
|
||||||
RUN mkdir -p /app/.thumbnails
|
RUN mkdir -p /app/.thumbnails
|
||||||
|
|||||||
Reference in New Issue
Block a user