Replacing the placeholder worker with a real one

This commit is contained in:
2020-04-16 14:24:17 +02:00
parent 50a4c09c3c
commit ca0c55f052
9 changed files with 181 additions and 4 deletions

9
worker/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM researchdeezer/spleeter
ENV PYTHONDONTWRITEBYTECODE=1
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
RUN python -m prefetch_models
ENTRYPOINT ["python", "separator.py"]