Added lilypond in deployment
This commit is contained in:
@@ -2,10 +2,15 @@ FROM python:3.11
|
|||||||
|
|
||||||
WORKDIR /folkugat
|
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
|
COPY deploy/requirements.txt /folkugat/requirements.txt
|
||||||
|
|
||||||
RUN pip install --no-cache-dir --upgrade -r /folkugat/requirements.txt
|
RUN pip install --no-cache-dir --upgrade -r /folkugat/requirements.txt
|
||||||
|
|
||||||
COPY folkugat_web /folkugat/folkugat_web
|
COPY folkugat_web /folkugat/folkugat_web
|
||||||
|
|
||||||
CMD ["uvicorn", "folkugat_web.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]
|
CMD ["uvicorn", "folkugat_web.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ jinja2
|
|||||||
uvicorn
|
uvicorn
|
||||||
# Files
|
# Files
|
||||||
python-magic
|
python-magic
|
||||||
|
aiofiles
|
||||||
# Auth
|
# Auth
|
||||||
pyjwt
|
pyjwt
|
||||||
# Search
|
# Search
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
#
|
#
|
||||||
# pip-compile --output-file=deploy/requirements.txt deploy/requirements.in
|
# pip-compile --output-file=deploy/requirements.txt deploy/requirements.in
|
||||||
#
|
#
|
||||||
|
aiofiles==24.1.0
|
||||||
|
# via -r deploy/requirements.in
|
||||||
annotated-types==0.7.0
|
annotated-types==0.7.0
|
||||||
# via pydantic
|
# via pydantic
|
||||||
anyio==4.9.0
|
anyio==4.9.0
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /home/marc/tmp/folkugat:/folkugat/files
|
- /home/marc/tmp/folkugat:/folkugat/files
|
||||||
ports:
|
ports:
|
||||||
- "8001:80"
|
- "8000:80"
|
||||||
networks:
|
networks:
|
||||||
- folkugat
|
- folkugat
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user