mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Initial implementation of remote library system
This commit is contained in:
1 parent
e8a53eee07
commit
e5fb0f0dbb
65 files changed
+6000
-183
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# The Konduktor server: one library (Traktor or Rekordbox), held where its audio
|
||||
# lives, opened from the desktop app as a "Remote" library.
|
||||
#
|
||||
# Build from the REPOSITORY ROOT (the version is read from frontend/package.json):
|
||||
# docker build -f server/Dockerfile -t konduktor-server .
|
||||
#
|
||||
# Configuration is the environment — see server/.env.example.
|
||||
FROM python:3.12-slim AS build
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends git \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY backend/requirements-server.txt /tmp/requirements-server.txt
|
||||
RUN pip install --no-cache-dir --prefix=/install -r /tmp/requirements-server.txt
|
||||
|
||||
FROM python:3.12-slim
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
KONDUKTOR_DATA_DIR=/data \
|
||||
KONDUKTOR_PORT=8765
|
||||
COPY --from=build /install /usr/local
|
||||
# `konduktor/__init__.py` reads the app version from <repo>/frontend/package.json,
|
||||
# two levels above the package.
|
||||
COPY frontend/package.json /app/frontend/package.json
|
||||
COPY backend/konduktor /app/backend/konduktor
|
||||
WORKDIR /app/backend
|
||||
# History, export sets and the stems ledger.
|
||||
VOLUME ["/data"]
|
||||
EXPOSE 8765
|
||||
CMD ["python", "-m", "konduktor.server"]
|
||||
Reference in new issue
Block a user