Commit ·
e43895e
1
Parent(s): 6ebf148
Deploy DeepFake Detector API - 2026-03-07 10:47:33
Browse files- Dockerfile +3 -0
- Dockerfile.huggingface +3 -0
Dockerfile
CHANGED
|
@@ -33,6 +33,9 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
| 33 |
# Copy application code
|
| 34 |
COPY --chown=user:user . /app
|
| 35 |
|
|
|
|
|
|
|
|
|
|
| 36 |
# Make start.sh executable
|
| 37 |
RUN chmod +x start.sh
|
| 38 |
|
|
|
|
| 33 |
# Copy application code
|
| 34 |
COPY --chown=user:user . /app
|
| 35 |
|
| 36 |
+
# Create cache directory with proper permissions
|
| 37 |
+
RUN mkdir -p /app/.hf_cache
|
| 38 |
+
|
| 39 |
# Make start.sh executable
|
| 40 |
RUN chmod +x start.sh
|
| 41 |
|
Dockerfile.huggingface
CHANGED
|
@@ -33,6 +33,9 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
| 33 |
# Copy application code
|
| 34 |
COPY --chown=user:user . /app
|
| 35 |
|
|
|
|
|
|
|
|
|
|
| 36 |
# Make start.sh executable
|
| 37 |
RUN chmod +x start.sh
|
| 38 |
|
|
|
|
| 33 |
# Copy application code
|
| 34 |
COPY --chown=user:user . /app
|
| 35 |
|
| 36 |
+
# Create cache directory with proper permissions
|
| 37 |
+
RUN mkdir -p /app/.hf_cache
|
| 38 |
+
|
| 39 |
# Make start.sh executable
|
| 40 |
RUN chmod +x start.sh
|
| 41 |
|