mirror of
https://github.com/simon987/toolbox.git
synced 2025-12-14 07:49:02 +00:00
Dockerize
This commit is contained in:
14
api/Dockerfile
Normal file
14
api/Dockerfile
Normal 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"]
|
||||
@@ -1,3 +1,4 @@
|
||||
redis
|
||||
fastapi
|
||||
python-multipart
|
||||
uvicorn
|
||||
|
||||
Reference in New Issue
Block a user