add docker
This commit is contained in:
1 parent
51dcd5fc58
commit
5bcbf94746
3 files changed
+28
-1
No files matched your search
+13
@@ -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