simar007 commited on
Commit
41a8a9b
·
verified ·
1 Parent(s): c3e3349

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -9
Dockerfile CHANGED
@@ -1,21 +1,13 @@
1
- # Use the official Python base image
2
  FROM python:3.11-slim
3
 
4
- # Set environment variables
5
- ENV PYTHONDONTWRITEBYTECODE=1
6
- ENV PYTHONUNBUFFERED=1
7
-
8
- # Set working directory inside container
9
  WORKDIR /app
10
 
11
- # Copy requirements and install dependencies
12
  COPY requirements.txt .
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
15
- # Copy the rest of the app
16
  COPY . .
17
 
18
- # Expose the port Flask runs on
19
  EXPOSE 8080
20
 
21
  # Run the app with Gunicorn
 
 
1
  FROM python:3.11-slim
2
 
 
 
 
 
 
3
  WORKDIR /app
4
 
 
5
  COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
 
8
  COPY . .
9
 
10
+ # Expose the port your app runs on
11
  EXPOSE 8080
12
 
13
  # Run the app with Gunicorn