add converter v1

This commit is contained in:
user committed 2025-02-26 17:01:26 +03:00
1 parent 080f000fd2
commit 5c8d9aa864
9 files changed
+259 -14

No files matched your search

+18 -1
View File
@@ -1,7 +1,24 @@
FROM python:3.9
WORKDIR /app
# Copy and install Python dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
RUN apt-get update && apt-get install -y ffmpeg
# Install required packages, add Docker's official GPG key and repository, then install Docker CLI
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
gnupg \
lsb-release && \
install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
chmod a+r /etc/apt/keyrings/docker.asc && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo \"$VERSION_CODENAME\") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null && \
apt-get update && \
apt-get install -y docker-ce-cli
CMD ["python", "app"]