acecalisto3 commited on
Commit
2d76d3d
1 Parent(s): a1d1b22

Delete DOCKERFILE

Browse files
Files changed (1) hide show
  1. DOCKERFILE +0 -35
DOCKERFILE DELETED
@@ -1,35 +0,0 @@
1
- # Use an official Python runtime as the base image
2
- FROM python:3.10-slim
3
-
4
- # Set environment variables
5
- ENV PYTHONDONTWRITEBYTECODE=1
6
- ENV PYTHONUNBUFFERED=1
7
-
8
- # Set the working directory in the container
9
- WORKDIR /app
10
-
11
- # Install system dependencies
12
- RUN apt-get update && apt-get install -y \
13
- build-essential \
14
- libssl-dev \
15
- libffi-dev \
16
- python3-dev \
17
- && rm -rf /var/lib/apt/lists/*
18
-
19
- # Copy the requirements file into the container
20
- COPY requirements.txt .
21
-
22
- # Upgrade pip and install Python dependencies
23
- RUN pip install --upgrade pip
24
- RUN pip install -r requirements.txt
25
-
26
- # (Removed spaCy model installation)
27
-
28
- # Copy the rest of the application code into the container
29
- COPY . .
30
-
31
- # Expose the port your app runs on (adjust if necessary)
32
- EXPOSE 7860
33
-
34
- # Define the command to run the application
35
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]