File size: 452 Bytes
7f5d737
 
31b042c
5956007
a25e77e
7f5d737
c94c56a
6595a34
7f5d737
6595a34
 
e4dc826
1
2
3
4
5
6
7
8
9
10
11
12
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"]