Initial import: Music_Server, MusicFree, catalog-sync
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
ARG BASE_IMAGE=docker.m.daocloud.io/library/python:3.11-slim
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONPATH=/app/src
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt ./requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY pyproject.toml ./pyproject.toml
|
||||
COPY src ./src
|
||||
COPY scripts ./scripts
|
||||
COPY release ./release
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["uvicorn", "music_server.app:create_app", "--factory", "--host", "0.0.0.0", "--port", "8000"]
|
||||
Reference in New Issue
Block a user