Spaces:
Sleeping

File size: 431 Bytes
30420b9
 
9bd8b9b
8ae9486
30420b9
8ae9486
 
5c4de7f
e605c79
d2c1fe6
8ae9486
e605c79
e19e3fe
30420b9
0ce03f9
390d120
ffd8a17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.11-slim


RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*

WORKDIR /app
ENV PYTHONPATH="/app:/app/auroraborealis"


RUN cd /app
RUN git clone https://github.com/clarkmaio/auroraborealis.git /app
RUN pip install --upgrade pip
RUN pip install -r /app/src/api/requirements.txt

RUN python src/api/operations.py

CMD ["uvicorn", "src.api.operations:app", "--port", "7860", "--host", "0.0.0.0"]