crackuser commited on
Commit
02e1276
·
verified ·
1 Parent(s): 7e7f733

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -50
Dockerfile DELETED
@@ -1,50 +0,0 @@
1
- FROM python:3.10-slim
2
-
3
- # Install system dependencies
4
- RUN apt-get update && apt-get install -y \
5
- build-essential \
6
- curl \
7
- git \
8
- libsndfile1 \
9
- ffmpeg \
10
- libavcodec-extra \
11
- espeak \
12
- espeak-data \
13
- libespeak1 \
14
- libespeak-dev \
15
- wget \
16
- unzip \
17
- && apt-get clean \
18
- && rm -rf /var/lib/apt/lists/*
19
-
20
- WORKDIR /app
21
-
22
- # Copy requirements first for better caching
23
- COPY requirements.txt .
24
-
25
- # Upgrade pip and install requirements
26
- RUN pip install --no-cache-dir --upgrade pip
27
- RUN pip install --no-cache-dir -r requirements.txt
28
-
29
- # Copy application files
30
- COPY . .
31
-
32
- # Create directories for models and outputs
33
- RUN mkdir -p /app/models
34
- RUN mkdir -p /app/outputs
35
- RUN mkdir -p /app/reference_voices
36
- RUN mkdir -p /app/temp
37
-
38
- # Set environment variables
39
- ENV PYTHONPATH=/app
40
- ENV STREAMLIT_SERVER_PORT=8501
41
- ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
42
-
43
- # Expose port
44
- EXPOSE 8501
45
-
46
- # Health check
47
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
48
-
49
- # Run the application
50
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]