SpireLab's picture
updated code and readme
452b9e6 verified
raw
history blame contribute delete
746 Bytes
FROM ubuntu:22.04
WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
software-properties-common \
&& add-apt-repository ppa:deadsnakes/ppa \
&& apt-get update \
&& apt-get install -y \
git \
python3.10 \
python3.10-dev \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN ln -s /usr/bin/python3.10 /usr/bin/python
RUN python --version
RUN pip3 install --no-cache-dir fastapi python-multipart uvicorn
RUN git clone https://github.com/PranavDBhat/LIMMITS-24-Coquiai.git /app/LIMMITS-24-Coquiai
RUN cd /app/LIMMITS-24-Coquiai && \
pip3 install --no-cache-dir -r requirements.txt
RUN cd /app/LIMMITS-24-Coquiai && \
pip3 install -e .
ENTRYPOINT [ "python" ]