drzeeIslam commited on
Commit
ee25e02
·
verified ·
1 Parent(s): a1164f5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,3 +1,4 @@
 
1
  FROM python:3.10-slim
2
 
3
  # Set Hugging Face cache dir to a writable path
@@ -10,7 +11,7 @@ RUN mkdir -p /tmp/hf_cache && chmod -R 777 /tmp/hf_cache
10
  WORKDIR /code
11
 
12
  # Copy files
13
- COPY . .
14
 
15
  # Install dependencies
16
  RUN pip install --no-cache-dir -r requirements.txt
 
1
+ # Use Python 3.10-slim as the base image
2
  FROM python:3.10-slim
3
 
4
  # Set Hugging Face cache dir to a writable path
 
11
  WORKDIR /code
12
 
13
  # Copy files
14
+ COPY..
15
 
16
  # Install dependencies
17
  RUN pip install --no-cache-dir -r requirements.txt