version initiale avec audio fonctionnel
This commit is contained in:
parent
2e9a5dffb5
commit
eae8367550
13 changed files with 485 additions and 90 deletions
26
Dockerfile
Normal file
26
Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
|||
FROM python:3.10-slim
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get install -y \
|
||||
ffmpeg
|
||||
|
||||
# Expose the application port
|
||||
EXPOSE 8000
|
||||
|
||||
# Set the application working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Install the app's dependencies
|
||||
RUN pip install --upgrade pip
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
COPY *.py ./
|
||||
RUN python install.py
|
||||
|
||||
# Copy the app's code
|
||||
COPY main.py .
|
||||
|
||||
# Run the application
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
Loading…
Add table
Add a link
Reference in a new issue