add docker
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.9-slim
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential libsndfile1 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install -e .
|
||||
RUN python -m unidic download
|
||||
RUN python melo/init_downloads.py
|
||||
|
||||
CMD ["python", "./melo/app.py", "--port", "8800"]
|
||||
Reference in New Issue
Block a user