Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -17,7 +17,8 @@ RUN mkdir -p /app && chmod -R 777 /app
|
|
| 17 |
RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444,required=true \
|
| 18 |
git clone https://x-access-token:$(cat /run/secrets/GITHUB_TOKEN)@github.com/leoncool23/pdpredict.git .
|
| 19 |
|
| 20 |
-
|
|
|
|
| 21 |
|
| 22 |
# Install Python dependencies
|
| 23 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 17 |
RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444,required=true \
|
| 18 |
git clone https://x-access-token:$(cat /run/secrets/GITHUB_TOKEN)@github.com/leoncool23/pdpredict.git .
|
| 19 |
|
| 20 |
+
**# Copy the static directory into the container**
|
| 21 |
+
**COPY static /app/static**
|
| 22 |
|
| 23 |
# Install Python dependencies
|
| 24 |
RUN pip install --no-cache-dir -r requirements.txt
|