Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
WORKDIR /app
|
4 |
WORKDIR /.cache
|
@@ -66,8 +66,9 @@ RUN mkdir -p uploads && chmod 777 uploads
|
|
66 |
|
67 |
COPY . .
|
68 |
COPY requirements.txt .
|
69 |
-
RUN pip3 install --no-cache-dir
|
70 |
RUN pip3 install --upgrade pip setuptools
|
|
|
71 |
|
72 |
RUN chown -R 1000:0 .
|
73 |
RUN chmod 777 .
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
|
3 |
WORKDIR /app
|
4 |
WORKDIR /.cache
|
|
|
66 |
|
67 |
COPY . .
|
68 |
COPY requirements.txt .
|
69 |
+
RUN pip3 install --no-cache-dir -r requirements.txt
|
70 |
RUN pip3 install --upgrade pip setuptools
|
71 |
+
RUN pip install --upgrade pip setuptools
|
72 |
|
73 |
RUN chown -R 1000:0 .
|
74 |
RUN chmod 777 .
|