Spaces:
Runtime error
Runtime error
Commit
•
b38b153
1
Parent(s):
0ea1363
Bruh docker
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -2,13 +2,13 @@ FROM python:3.11
|
|
2 |
|
3 |
WORKDIR /api
|
4 |
|
|
|
|
|
5 |
RUN pip install --upgrade pip
|
6 |
RUN pip install -r requirements.txt
|
7 |
RUN mkdir /api/cache
|
8 |
RUN chmod a+rwx /api/cache
|
9 |
|
10 |
-
COPY ./ /api/
|
11 |
-
|
12 |
EXPOSE 7860
|
13 |
|
14 |
CMD ["bash", "start.sh"]
|
|
|
2 |
|
3 |
WORKDIR /api
|
4 |
|
5 |
+
COPY ./ /api/
|
6 |
+
|
7 |
RUN pip install --upgrade pip
|
8 |
RUN pip install -r requirements.txt
|
9 |
RUN mkdir /api/cache
|
10 |
RUN chmod a+rwx /api/cache
|
11 |
|
|
|
|
|
12 |
EXPOSE 7860
|
13 |
|
14 |
CMD ["bash", "start.sh"]
|