Update Dockerfile.txt
Browse files- Dockerfile.txt +9 -3
Dockerfile.txt
CHANGED
@@ -11,12 +11,18 @@ WORKDIR /code
|
|
11 |
# Copy files
|
12 |
COPY . /code/
|
13 |
|
14 |
-
|
15 |
-
RUN pip install --upgrade pip
|
16 |
-
RUN pip install -r requirements.txt
|
17 |
|
18 |
# Expose port
|
19 |
EXPOSE 7860
|
20 |
|
21 |
# Command to run the app
|
22 |
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
# Copy files
|
12 |
COPY . /code/
|
13 |
|
14 |
+
|
|
|
|
|
15 |
|
16 |
# Expose port
|
17 |
EXPOSE 7860
|
18 |
|
19 |
# Command to run the app
|
20 |
CMD ["python", "app.py"]
|
21 |
+
|
22 |
+
# Install dependencies
|
23 |
+
RUN pip install --upgrade pip
|
24 |
+
RUN pip install -r requirements.txt
|
25 |
+
|
26 |
+
# Explicitly install huggingface-hub==0.16.4 if not already included in requirements.txt
|
27 |
+
RUN pip install huggingface-hub==0.16.4
|
28 |
+
|