Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
|
| 3 |
# Set working directory
|
| 4 |
WORKDIR /app
|
|
@@ -7,7 +7,7 @@ WORKDIR /app
|
|
| 7 |
RUN git clone https://github.com/rupeshs/fastsdcpu.git .
|
| 8 |
|
| 9 |
# Copy and modify requirements.txt
|
| 10 |
-
RUN sed -i 's/gradio==5.6.0/gradio==4.44.1/' requirements.txt
|
| 11 |
|
| 12 |
# Upgrade pip and install dependencies
|
| 13 |
RUN pip install --upgrade pip
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
|
| 3 |
# Set working directory
|
| 4 |
WORKDIR /app
|
|
|
|
| 7 |
RUN git clone https://github.com/rupeshs/fastsdcpu.git .
|
| 8 |
|
| 9 |
# Copy and modify requirements.txt
|
| 10 |
+
#RUN sed -i 's/gradio==5.6.0/gradio==4.44.1/' requirements.txt
|
| 11 |
|
| 12 |
# Upgrade pip and install dependencies
|
| 13 |
RUN pip install --upgrade pip
|