danielRamon commited on
Commit
51cd619
·
1 Parent(s): 0c3809f

chore 📦: Simplify Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -2
Dockerfile CHANGED
@@ -1,10 +1,8 @@
1
  FROM python:3.10-slim-bullseye
2
- WORKDIR /app
3
  COPY requirements.txt requirements.txt
4
  RUN pip install -r requirements.txt
5
  RUN apt update && apt -y upgrade && apt -y install curl
6
  RUN curl -fsSL https://ollama.com/install.sh | sh
7
- RUN mkdir -p /root/.ollama/id_ed25519 && chmod 755 /root/.ollama/id_ed25519
8
  RUN ollama start & OLLAMA_PID=$! ; ollama pull gemma2 ; kill $OLLAMA_PID
9
  EXPOSE 8501
10
  COPY streamlit_app.py generate_players.py resources/* ./
 
1
  FROM python:3.10-slim-bullseye
 
2
  COPY requirements.txt requirements.txt
3
  RUN pip install -r requirements.txt
4
  RUN apt update && apt -y upgrade && apt -y install curl
5
  RUN curl -fsSL https://ollama.com/install.sh | sh
 
6
  RUN ollama start & OLLAMA_PID=$! ; ollama pull gemma2 ; kill $OLLAMA_PID
7
  EXPOSE 8501
8
  COPY streamlit_app.py generate_players.py resources/* ./