Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue on server #455

Open
synhya1 opened this issue May 10, 2024 · 5 comments
Open

issue on server #455

synhya1 opened this issue May 10, 2024 · 5 comments

Comments

@synhya1
Copy link

synhya1 commented May 10, 2024

Error: Command failed with exit code 1: /app/node_modules/.pnpm/@[email protected]/node_modules/@ffprobe-installer/linux-x64/ffprobe -v error -select_streams a:0 -show_format -show_streams https://cdn.test.kr/music/Til Until.mp3

it works well locally but when i build it in docker (server) it crashes with that error what can i do?

@Sumolari
Copy link
Member

Could you provide a minimal Docker image reproducing the error?

@synhya1
Copy link
Author

synhya1 commented Jun 13, 2024

FROM node:lts-alpine
RUN apk update &&
apk add --no-cache ffmpeg

WORKDIR /app

RUN npm i -g pnpm

COPY package.json ./
COPY .npmrc ./
RUN pnpm i

COPY . .
RUN npm run build

ENV BODY_SIZE_LIMIT=1003045462

ENTRYPOINT [ "npm", "start" ]

this is my dockerfile

@TheTBO
Copy link

TheTBO commented Jul 1, 2024

I faced a similar issue on node alpine where ffprobe fails during DNS resolution.

@Sumolari
Copy link
Member

Sumolari commented Jul 1, 2024

It is indeed the same issue as @TheTBO mentions, also mentioned in this issue from a related package

@danny-does-stuff
Copy link

We were able to fix this issue by installing ffmpeg in our docker image. My full solution notes can be found here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants