qgallouedec HF Staff commited on
Commit
f105b76
·
1 Parent(s): 0a71510

remove old and change python light

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -31
Dockerfile CHANGED
@@ -1,34 +1,5 @@
1
- # # Use a lightweight Python image as the base
2
- # FROM python:3-slim
3
-
4
- # # Set the working directory inside the container
5
- # WORKDIR /app
6
-
7
- # # Install git and clean up to keep the image small
8
- # RUN apt-get update && \
9
- # apt-get install -y git && \
10
- # apt-get clean && \
11
- # rm -rf /var/lib/apt/lists/*
12
-
13
- # # Copy all files to the container
14
- # COPY . /app
15
-
16
- # # Install required dependencies
17
- # RUN pip install --upgrade pip
18
- # RUN pip install -r requirements.txt
19
-
20
- # # Copy the shell script and make it executable
21
- # COPY sft.sh /usr/local/bin/sft
22
- # RUN chmod +x /usr/local/bin/sft
23
-
24
- # # Launch the application
25
- # EXPOSE 7860
26
- # ENV GRADIO_SERVER_NAME="0.0.0.0"
27
- # CMD ["python", "app.py"]
28
-
29
-
30
-
31
- FROM python:3.10-slim
32
 
33
  WORKDIR /usr/src/app
34
  COPY . .
 
1
+ # Use a lightweight Python image
2
+ FROM python:3-slim
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  WORKDIR /usr/src/app
5
  COPY . .