Kexin-251202 commited on
Commit
dca34dd
·
verified ·
1 Parent(s): c86c45b

debug dockerfile

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