Spaces:
Running
Running
commit docker
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -1,9 +1,13 @@
|
|
1 |
FROM python:3.10
|
2 |
|
|
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY . .
|
6 |
|
|
|
|
|
7 |
RUN pip install --upgrade pip
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
|
|
1 |
FROM python:3.10
|
2 |
|
3 |
+
RUN mkdir -p /app/models && chmod -R 777 /app/models
|
4 |
+
|
5 |
WORKDIR /app
|
6 |
|
7 |
COPY . .
|
8 |
|
9 |
+
ENV HF_HOME=/app/models
|
10 |
+
|
11 |
RUN pip install --upgrade pip
|
12 |
RUN pip install -r requirements.txt
|
13 |
|