rkihacker commited on
Commit
9e56982
·
verified ·
1 Parent(s): 6fd13f8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -22
Dockerfile CHANGED
@@ -1,22 +1 @@
1
- FROM shadowv2/int-driver:latest
2
-
3
- EXPOSE 8000
4
-
5
- # Install Python + venv tools
6
- RUN apt-get update && apt-get install -y python3 python3-venv python3-pip
7
-
8
- # Create a virtual environment
9
- RUN python3 -m venv /opt/venv
10
-
11
- # Activate venv for all future commands
12
- ENV PATH="/opt/venv/bin:$PATH"
13
-
14
- # Install FastAPI inside venv
15
- COPY requirements.txt /requirements.txt
16
- RUN pip install --no-cache-dir -r /requirements.txt
17
-
18
- # Copy app
19
- COPY main.py /main.py
20
-
21
- # Run FastAPI + shadow driver
22
- ENTRYPOINT ["python3", "/main.py"]
 
1
+ FROM shadowv2/ollama-fastapi:latest