Dockerize

This commit is contained in:
2020-08-05 21:49:25 -04:00
parent aca92d07bb
commit 46450cbfd3
7 changed files with 86 additions and 1 deletions

14
api/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM ubuntu:19.10
RUN apt update -y && apt install -y perl sox libsox-fmt-all python3 python3-pip
COPY requirements.txt /app/
RUN python3 -m pip install --no-cache-dir -r /app/requirements.txt
COPY . /app
WORKDIR /app/
EXPOSE 8000
ENTRYPOINT ["python3", "app.py"]

View File

@@ -1,3 +1,4 @@
redis
fastapi
python-multipart
uvicorn