Spaces:
Runtime error
Runtime error
| FROM python:3.10 | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /home/user/app | |
| COPY . . | |
| RUN pip install --upgrade pip | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| RUN apt-get update | |
| RUN apt-get install -y cron | |
| RUN apt-get install -y vim | |
| RUN apt-get install -y ffmpeg | |
| RUN chown -R user:user /home/user | |
| RUN chown -R user:user /usr/games | |
| RUN chown -R user:user /usr/local | |
| RUN chown -R user:user /usr/bin | |
| RUN chown -R user:user /var/ | |
| CMD ["python", "app.py"] | |