diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..65077e9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/sources/ +/tmp_sound/ +/.idea/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..acfb15d --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..917f53f --- /dev/null +++ b/LICENSE @@ -0,0 +1,220 @@ + + +
+ +