Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -15,12 +15,14 @@ RUN apt-get update && apt-get install -y \
|
|
15 |
WORKDIR /app
|
16 |
|
17 |
# Install Python dependencies
|
18 |
-
|
19 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
|
21 |
# Download your specific files
|
22 |
RUN curl -L https://huggingface.co/datasets/qdqd/web-api/resolve/main/api.py -o api.py
|
23 |
RUN curl -L https://huggingface.co/datasets/qdqd/web-api/resolve/main/requirements.txt -o requirements.txt
|
|
|
|
|
|
|
24 |
|
25 |
# Hugging Face Spaces specific settings
|
26 |
ENV PLAYWRIGHT_BROWSERS_PATH=/app/ms-playwright
|
|
|
15 |
WORKDIR /app
|
16 |
|
17 |
# Install Python dependencies
|
18 |
+
|
|
|
19 |
|
20 |
# Download your specific files
|
21 |
RUN curl -L https://huggingface.co/datasets/qdqd/web-api/resolve/main/api.py -o api.py
|
22 |
RUN curl -L https://huggingface.co/datasets/qdqd/web-api/resolve/main/requirements.txt -o requirements.txt
|
23 |
+
RUN curl -L https://huggingface.co/datasets/qdqd/web-api/resolve/main/index.html -o /static/index.html
|
24 |
+
|
25 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
26 |
|
27 |
# Hugging Face Spaces specific settings
|
28 |
ENV PLAYWRIGHT_BROWSERS_PATH=/app/ms-playwright
|