FROM python:3.11 | |
RUN apt update | |
RUN apt install git | |
RUN git clone https://github.com/renqabs/Y2OA.git /app | |
WORKDIR "app" | |
RUN pip install -r requirements.txt | |
ENV PORT 7860 | |
EXPOSE 7860 | |
CMD ["python", "main.py"] |
FROM python:3.11 | |
RUN apt update | |
RUN apt install git | |
RUN git clone https://github.com/renqabs/Y2OA.git /app | |
WORKDIR "app" | |
RUN pip install -r requirements.txt | |
ENV PORT 7860 | |
EXPOSE 7860 | |
CMD ["python", "main.py"] |