gsstec commited on
Commit
decce5e
·
verified ·
1 Parent(s): ebe5721

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -21,12 +21,12 @@ RUN pip install --no-cache-dir --upgrade pip && \
21
  # Copy application files
22
  COPY app.py .
23
 
24
- # Create necessary directories first
25
- RUN mkdir -p templates static/css static/js static/images logs
 
26
 
27
- # Copy template files individually (more flexible)
28
- COPY templates/ar_dashboard.html ./templates/
29
- COPY static/ ./static/ 2>/dev/null || true
30
 
31
  # Create non-root user for security
32
  RUN useradd --create-home --shell /bin/bash app && \
 
21
  # Copy application files
22
  COPY app.py .
23
 
24
+ # Copy templates and static directories (will be created by deployment script)
25
+ COPY templates ./templates/
26
+ COPY static ./static/
27
 
28
+ # Ensure all necessary directories exist and have proper permissions
29
+ RUN mkdir -p templates static/css static/js static/images logs
 
30
 
31
  # Create non-root user for security
32
  RUN useradd --create-home --shell /bin/bash app && \