Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -29
Dockerfile
CHANGED
@@ -1,29 +0,0 @@
|
|
1 |
-
FROM python:3.11-slim
|
2 |
-
|
3 |
-
WORKDIR /app
|
4 |
-
|
5 |
-
# Install system dependencies
|
6 |
-
RUN apt-get update && apt-get install -y \
|
7 |
-
ffmpeg \
|
8 |
-
imagemagick \
|
9 |
-
&& rm -rf /var/lib/apt/lists/*
|
10 |
-
|
11 |
-
# Copy requirements and install Python dependencies
|
12 |
-
COPY requirements_hf.txt .
|
13 |
-
RUN pip install --no-cache-dir -r requirements_hf.txt
|
14 |
-
|
15 |
-
# Copy application code
|
16 |
-
COPY . .
|
17 |
-
|
18 |
-
# Create necessary directories
|
19 |
-
RUN mkdir -p storage/tasks storage/cache_videos storage/temp
|
20 |
-
|
21 |
-
# Expose port
|
22 |
-
EXPOSE 7860
|
23 |
-
|
24 |
-
# Set environment variables
|
25 |
-
ENV STREAMLIT_SERVER_PORT=7860
|
26 |
-
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
27 |
-
|
28 |
-
# Run the application
|
29 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|