qdqd commited on
Commit
acfdffe
·
verified ·
1 Parent(s): e81dd9a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- COPY requirements.txt .
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