File size: 746 Bytes
452b9e6
f15e280
 
 
452b9e6
f15e280
 
452b9e6
 
 
 
f15e280
452b9e6
 
 
f15e280
 
452b9e6
 
 
f15e280
452b9e6
f15e280
 
 
 
452b9e6
f15e280
 
452b9e6
f15e280
452b9e6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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" ]