CyberCoder225 commited on
Commit
1036e55
·
verified ·
1 Parent(s): 46d94c0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,9 +1,8 @@
1
  FROM python:3.10-slim
2
 
3
- # Install system dependencies needed for the brain
4
  RUN apt-get update && apt-get install -y \
5
  build-essential \
6
- cmake \
7
  python3-dev \
8
  && rm -rf /var/lib/apt/lists/*
9
 
@@ -13,7 +12,7 @@ ENV HOME=/home/user \
13
  PATH=/home/user/.local/bin:$PATH
14
  WORKDIR $HOME/app
15
 
16
- # MAGIC LINE: This installs the pre-compiled version for CPU
17
  RUN pip install --no-cache-dir \
18
  huggingface-hub \
19
  flask \
 
1
  FROM python:3.10-slim
2
 
3
+ # System setup
4
  RUN apt-get update && apt-get install -y \
5
  build-essential \
 
6
  python3-dev \
7
  && rm -rf /var/lib/apt/lists/*
8
 
 
12
  PATH=/home/user/.local/bin:$PATH
13
  WORKDIR $HOME/app
14
 
15
+ # THIS IS THE KEY: It installs the pre-made version instantly
16
  RUN pip install --no-cache-dir \
17
  huggingface-hub \
18
  flask \