ChandimaPrabath commited on
Commit
af5d4c7
·
1 Parent(s): 4833c23
Files changed (1) hide show
  1. Dockerfile +1 -11
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Base image
2
- FROM docker.io/library/python:3.10@sha256:428430918ab72109921ef55d5f8bdd3a02a90734fd79ee920146cf385a13c110
3
 
4
  # Install additional packages and setup
5
  RUN apt-get update && apt-get install -y \
@@ -26,16 +26,6 @@ WORKDIR /home/user/app
26
  COPY requirements.txt /tmp/requirements.txt
27
  RUN pip install --no-cache-dir -r /tmp/requirements.txt
28
 
29
- # Install additional Python packages
30
- RUN pip install --no-cache-dir \
31
- datasets \
32
- "huggingface-hub>=0.19" \
33
- "hf-transfer>=0.1.4" \
34
- "protobuf<4" \
35
- "click<8.1" \
36
- "uvicorn>=0.14.0" \
37
- spaces
38
-
39
  # Copy the application code
40
  COPY --chown=1000:1000 ./ /home/user/app
41
 
 
1
  # Base image
2
+ FROM python:3.9
3
 
4
  # Install additional packages and setup
5
  RUN apt-get update && apt-get install -y \
 
26
  COPY requirements.txt /tmp/requirements.txt
27
  RUN pip install --no-cache-dir -r /tmp/requirements.txt
28
 
 
 
 
 
 
 
 
 
 
 
29
  # Copy the application code
30
  COPY --chown=1000:1000 ./ /home/user/app
31