anshharora commited on
Commit
4fac9ab
·
verified ·
1 Parent(s): 62f37e9

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -27
Dockerfile DELETED
@@ -1,27 +0,0 @@
1
- # Use an official Python runtime as the base image
2
- FROM python:3.9-slim
3
-
4
- # Set environment variables to avoid interactive prompts during package installation
5
- ENV PYTHONUNBUFFERED 1
6
- ENV PYTHONDONTWRITEBYTECODE 1
7
-
8
- # Set working directory inside the container
9
- WORKDIR /app
10
-
11
- # Copy the current directory contents into the container at /app
12
- COPY . /app
13
-
14
- # Install system dependencies required for your app
15
- RUN apt-get update && apt-get install -y \
16
- build-essential \
17
- ffmpeg \
18
- && rm -rf /var/lib/apt/lists/*
19
-
20
- # Install Python dependencies
21
- RUN pip install --no-cache-dir -r requirements.txt
22
-
23
- # Expose the port that Flask will run on
24
- EXPOSE 7860
25
-
26
- # Command to run the app using gunicorn
27
- CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]