feat(server): Dockerfile and compose for the Lidarr stack
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
15
server/Dockerfile
Normal file
15
server/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY server/requirements.txt /app/server/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /app/server/requirements.txt yt-dlp
|
||||
|
||||
COPY musicfetch /app/musicfetch
|
||||
COPY server /app/server
|
||||
|
||||
EXPOSE 6769
|
||||
CMD ["sh", "-c", "uvicorn server.app:app --host 0.0.0.0 --port ${MUSICFETCH_PORT:-6769}"]
|
||||
Reference in New Issue
Block a user