rename dockerfile

transfer ownership
This commit is contained in:
=
2024-11-23 15:12:22 -05:00
parent 180b1933af
commit 7482fa06ac
2 changed files with 9 additions and 7 deletions

25
upload-sorter/Dockerfile Normal file
View File

@ -0,0 +1,25 @@
FROM python:3.12-slim
# Set the working directory
WORKDIR /app
# Copy the sort.py file to the working directory
COPY sort.py .
COPY requirements.txt .
# Install ffmpeg
RUN apt-get update \
&& apt-get install -y ffmpeg \
&& apt-get clean
# Ensure pip
RUN python -m ensurepip
# Upgrade pip
RUN pip install --upgrade pip
# Install requirements
RUN pip install -r requirements.txt
# Set the entry point to sort.py
ENTRYPOINT ["python", "/app/sort.py"]