juzer09 commited on
Commit
cb351ee
·
verified ·
1 Parent(s): 4e30098

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -33
Dockerfile DELETED
@@ -1,33 +0,0 @@
1
- FROM python:3.11-slim
2
-
3
- # Set working directory
4
- WORKDIR /app
5
-
6
- # Install system dependencies
7
- RUN apt-get update && apt-get install -y \
8
- ffmpeg \
9
- libsndfile1 \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- # Copy requirements first for better caching
13
- COPY requirements.txt .
14
-
15
- # Install Python dependencies
16
- RUN pip install --no-cache-dir -r requirements.txt
17
-
18
- # Copy application files
19
- COPY . .
20
-
21
- # Create non-root user for security
22
- RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
23
- USER appuser
24
-
25
- # Expose port
26
- EXPOSE 8000
27
-
28
- # Health check
29
- HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 \
30
- CMD curl -f http://localhost:8000/health || exit 1
31
-
32
- # Start the application
33
- CMD ["python", "api.py"]