apiofbookai / Dockerfile
shethjenil's picture
Upload 3 files
f9a710b verified
raw
history blame contribute delete
302 Bytes
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"]