bash ffmpeg project

is it possible to run a project with bash and ffmpeg?
13 Replies
Percy
Percy2y ago
Project ID: N/A
formigueiro
formigueiroOP2y ago
N/A
formigueiro
formigueiroOP2y ago
formigueiro
formigueiroOP2y ago
i have this files
Brody
Brody2y ago
youd want to do this type of thing with a dockerfile
formigueiro
formigueiroOP2y ago
something like this?
Brody
Brody2y ago
id use a slim ubuntu image, but yes something like that
formigueiro
formigueiroOP2y ago
just change to ubuntu-minimal ?
Brody
Brody2y ago
just use ubuntu:22.04
formigueiro
formigueiroOP2y ago
ive changed to
FROM ubuntu:22.04

# Instala o ffmpeg
RUN apt-get update && \
apt-get install -y ffmpeg

# Copia o arquivo buildpack-run.sh para o contêiner
COPY buildpack-run.sh /buildpack-run.sh

# Define o arquivo buildpack-run.sh como executável
RUN chmod +x /buildpack-run.sh

# Executa o arquivo buildpack-run.sh quando o contêiner iniciar
CMD ["/bin/bash", "/buildpack-run.sh"]
FROM ubuntu:22.04

# Instala o ffmpeg
RUN apt-get update && \
apt-get install -y ffmpeg

# Copia o arquivo buildpack-run.sh para o contêiner
COPY buildpack-run.sh /buildpack-run.sh

# Define o arquivo buildpack-run.sh como executável
RUN chmod +x /buildpack-run.sh

# Executa o arquivo buildpack-run.sh quando o contêiner iniciar
CMD ["/bin/bash", "/buildpack-run.sh"]
to install ffmpeg
Brody
Brody2y ago
looks good
formigueiro
formigueiroOP2y ago
ty worked
Brody
Brody2y ago
sweet!
Want results from more Discord servers?
Add your server