Spaces:
Sleeping
Sleeping
File size: 333 Bytes
ae463e7 221653d ae463e7 221653d b695caf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | FROM python:3.9
# User setup (Hugging Face requirements)
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:${PATH}"
WORKDIR /home/user/app
# Files copy karein
COPY --chown=user . .
# Libraries install karein
RUN pip install --no-cache-dir -r requirements.txt
# Bot chalane ki command
CMD ["python", "app.py"] |