Spaces:
Sleeping
Sleeping
debug dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -12,6 +12,9 @@ RUN curl -fsSL | bash - && apt-get install -y --no-install-recommends nodejs &&
|
|
| 12 |
COPY requirements.txt ./
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
ENV FOCUSGUARD_CACHE_DIR=/app/.cache/focusguard
|
| 16 |
RUN python -c "from models.face_mesh import _ensure_model; _ensure_model()"
|
| 17 |
|
|
|
|
| 12 |
COPY requirements.txt ./
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
+
COPY . .
|
| 16 |
+
RUN npm install && npm run build && mkdir -p /app/static && cp -R dist/* /app/static/
|
| 17 |
+
|
| 18 |
ENV FOCUSGUARD_CACHE_DIR=/app/.cache/focusguard
|
| 19 |
RUN python -c "from models.face_mesh import _ensure_model; _ensure_model()"
|
| 20 |
|