Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
FROM ubuntu:18.04
FROM ubuntu:20.04

RUN apt-get update && apt-get install -y \
timidity \
python3-pip \
python3-pil \
git \
curl \
ffmpeg \
vim
RUN \
apt-get update && \
apt-get upgrade -y &&\
DEBIAN_FRONTEND=noninteractive TZ=Europe/Paris apt-get -y install tzdata && \
apt-get install -y \
timidity \
python3-pip \
python3-pil \
git \
curl \
ffmpeg \
vim

ARG BASE_PATH
ARG SCORE_PATH
Expand All @@ -22,22 +26,16 @@ RUN mkdir -p ${BASE_PATH}/ly2video

WORKDIR ${BASE_PATH}

RUN curl -o lilypond.sh https://lilypond.org/download/binaries/linux-64/lilypond-2.22.1-1.linux-64.sh

RUN ls -l

RUN chmod +x lilypond.sh
RUN curl -o lilypond-2.24.3-linux-x86_64.tar.gz https://gitlab.com/api/v4/projects/lilypond%2Flilypond/packages/generic/lilypond/2.24.3/lilypond-2.24.3-linux-x86_64.tar.gz

RUN sh lilypond.sh --batch
RUN tar -xzf lilypond-2.24.3-linux-x86_64.tar.gz && cp -r lilypond-2.24.3/* /usr/

WORKDIR ${BASE_PATH}/ly2video

COPY . .


RUN pwd
RUN ls

RUN pip3 install -r requirements.txt
RUN pip3 install .

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Pillow==9.3.0
Pillow==10.0.1
pexpect==4.8.0
mido==1.2.9