multimodalart HF Staff commited on
Commit
2e5fd63
·
verified ·
1 Parent(s): 25d8f74

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -17,7 +17,7 @@ RUN pip install --no-cache-dir \
17
  # Create data directory with proper permissions
18
  RUN mkdir -p /data && chown -R user:user /data
19
 
20
- # Copy application files
21
  COPY --chown=user:user app.py /app/
22
  COPY --chown=user:user index.html /app/
23
 
@@ -27,4 +27,3 @@ USER user
27
  EXPOSE 7860
28
 
29
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
30
-
 
17
  # Create data directory with proper permissions
18
  RUN mkdir -p /data && chown -R user:user /data
19
 
20
+ # Copy application files directly to /app
21
  COPY --chown=user:user app.py /app/
22
  COPY --chown=user:user index.html /app/
23
 
 
27
  EXPOSE 7860
28
 
29
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]