Spaces:
Sleeping
Sleeping
Satyam S commited on
Commit ·
08ddd4b
1
Parent(s): 8772536
Bake demo image into Docker image via GitHub raw URL
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -25,6 +25,10 @@ COPY . /app
|
|
| 25 |
# Download YOLO weights at build time so they're baked into the image
|
| 26 |
RUN python download_models.py
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
RUN mkdir -p /app/runtime/uploads /app/runtime/outputs /app/runtime/attendance
|
| 29 |
|
| 30 |
ENV PORT=8080
|
|
|
|
| 25 |
# Download YOLO weights at build time so they're baked into the image
|
| 26 |
RUN python download_models.py
|
| 27 |
|
| 28 |
+
# Download demo classroom image from GitHub
|
| 29 |
+
RUN curl -fL -o /app/activity_web/backend/static/demo_classroom.jpg \
|
| 30 |
+
"https://raw.githubusercontent.com/PixxySynchronous/PRISM-AI-REPO/main/activity_web/backend/static/demo_classroom.jpg"
|
| 31 |
+
|
| 32 |
RUN mkdir -p /app/runtime/uploads /app/runtime/outputs /app/runtime/attendance
|
| 33 |
|
| 34 |
ENV PORT=8080
|