Spaces:
Running
Running
FROM python:3.10.12 | |
RUN apt-get update && apt-get install -y && pip install fastapi && pip install uvicorn[standard] | |
RUN chmod 777 . | |
RUN git clone https://github.com/Mihaiii/TimeStampBuddy.git | |
RUN cd TimeStampBuddy && pip install -r requirements.txt | |
RUN chmod 777 ./TimeStampBuddy | |
COPY app.py ./TimeStampBuddy | |
RUN chmod +x ./TimeStampBuddy/app.py | |
CMD ["uvicorn", "TimeStampBuddy.app:app", "--host", "0.0.0.0", "--port", "7860"] |