Hammad712 commited on
Commit
76e5625
·
verified ·
1 Parent(s): 65904d6

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -21
Dockerfile DELETED
@@ -1,21 +0,0 @@
1
- # Use an official Python runtime as a parent image.
2
- FROM python:3.10-slim
3
-
4
- # Install system dependencies (poppler-utils is required by pdf2image).
5
- RUN apt-get update && apt-get install -y poppler-utils && rm -rf /var/lib/apt/lists/*
6
-
7
- # Set the working directory.
8
- WORKDIR /app
9
-
10
- # Copy requirements and install Python dependencies.
11
- COPY requirements.txt .
12
- RUN pip install --upgrade pip && pip install -r requirements.txt
13
-
14
- # Copy the application code.
15
- COPY main.py .
16
-
17
- # Expose the port FastAPI will run on.
18
- EXPOSE 7060
19
-
20
- # Command to run the FastAPI app using uvicorn via the module interface.
21
- CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7060"]