X / Dockerfile
likhonsheikh's picture
Update Dockerfile
fdb26d4 verified
raw
history blame contribute delete
282 Bytes
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y curl python3 python3-pip
WORKDIR /app
RUN curl -fsSL https://ollama.ai/install.sh | sh
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY . .
RUN chmod +x start.sh
EXPOSE 7860 11434
CMD ["./start.sh"]