Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +4 -6
Dockerfile
CHANGED
|
@@ -20,13 +20,11 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|
| 20 |
|
| 21 |
# Copy application files
|
| 22 |
COPY app.py .
|
|
|
|
| 23 |
|
| 24 |
-
#
|
| 25 |
-
|
| 26 |
-
|
| 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 && \
|
|
|
|
| 20 |
|
| 21 |
# Copy application files
|
| 22 |
COPY app.py .
|
| 23 |
+
COPY ar_dashboard.html .
|
| 24 |
|
| 25 |
+
# Create necessary directories and move template file
|
| 26 |
+
RUN mkdir -p templates static/css static/js static/images logs && \
|
| 27 |
+
mv ar_dashboard.html templates/ar_dashboard.html
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
# Create non-root user for security
|
| 30 |
RUN useradd --create-home --shell /bin/bash app && \
|