File tree Expand file tree Collapse file tree 4 files changed +1683
-1962
lines changed
Expand file tree Collapse file tree 4 files changed +1683
-1962
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ package: format zip
131131
132132install :
133133 npm --prefix ./app install --legacy-peer-deps
134- mv ./app/node_modules/pdfjs-dist/build/pdf.worker.min.mjs ./app/public/
134+ cp ./app/node_modules/pdfjs-dist/build/pdf.worker.min.mjs ./app/public/
135135
136136clean-install :
137137 npm --prefix ./app ci --legacy-peer-deps
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ COPY package-lock.json ./
88COPY ./ ./
99
1010RUN npm install --legacy-peer-deps
11- RUN mv ./node_modules/pdfjs-dist/build/pdf.worker.min.mjs ./public/
11+ RUN cp ./node_modules/pdfjs-dist/build/pdf.worker.min.mjs ./public/
1212RUN mkdir -p ./public/pdfjs
1313RUN wget https://github.com/mozilla/pdf.js/releases/download/v4.10.38/pdfjs-4.10.38-dist.zip -O ./public/pdfjs/pdfjs.zip
1414RUN unzip -o -d ./public/pdfjs ./public/pdfjs/pdfjs.zip
You can’t perform that action at this time.
0 commit comments