Added lilypond in deployment
This commit is contained in:
@@ -2,10 +2,15 @@ FROM python:3.11
|
||||
|
||||
WORKDIR /folkugat
|
||||
|
||||
# Install Lilypond
|
||||
RUN wget https://gitlab.com/lilypond/lilypond/-/releases/v2.25.25/downloads/lilypond-2.25.25-linux-x86_64.tar.gz
|
||||
RUN tar xvzf lilypond-2.25.25-linux-x86_64.tar.gz
|
||||
ENV PATH="$PATH:/folkugat/lilypond-2.25.25/bin"
|
||||
RUN rm lilypond-2.25.25-linux-x86_64.tar.gz
|
||||
|
||||
# Install Folkugat python server
|
||||
COPY deploy/requirements.txt /folkugat/requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /folkugat/requirements.txt
|
||||
|
||||
COPY folkugat_web /folkugat/folkugat_web
|
||||
|
||||
CMD ["uvicorn", "folkugat_web.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]
|
||||
|
||||
@@ -5,6 +5,7 @@ jinja2
|
||||
uvicorn
|
||||
# Files
|
||||
python-magic
|
||||
aiofiles
|
||||
# Auth
|
||||
pyjwt
|
||||
# Search
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#
|
||||
# pip-compile --output-file=deploy/requirements.txt deploy/requirements.in
|
||||
#
|
||||
aiofiles==24.1.0
|
||||
# via -r deploy/requirements.in
|
||||
annotated-types==0.7.0
|
||||
# via pydantic
|
||||
anyio==4.9.0
|
||||
|
||||
Reference in New Issue
Block a user