File size: 302 Bytes
f9a710b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
FROM python:3.11
RUN apt-get update && \

    apt-get install -y ffmpeg && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*
RUN useradd -ms /bin/bash myuser
WORKDIR /code
COPY . .
RUN pip install -r requirements.txt
RUN chown -R myuser:myuser /code
USER myuser
CMD ["python","app.py"]