lokesh341 commited on
Commit
3374a12
·
verified ·
1 Parent(s): 968bea1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -13
Dockerfile CHANGED
@@ -1,17 +1,7 @@
1
  FROM python:3.9-slim
2
-
3
- # Install wkhtmltopdf
4
- RUN apt-get update && apt-get install -y wkhtmltopdf
5
-
6
- # Set working directory
7
  WORKDIR /app
8
-
9
- # Copy requirements and install
10
  COPY requirements.txt .
11
- RUN pip install -r requirements.txt
12
-
13
- # Copy the app
14
  COPY . .
15
-
16
- # Run the app
17
- CMD ["gunicorn", "app:app"]
 
1
  FROM python:3.9-slim
 
 
 
 
 
2
  WORKDIR /app
 
 
3
  COPY requirements.txt .
4
+ RUN pip install --no-cache-dir -r requirements.txt
 
 
5
  COPY . .
6
+ EXPOSE 10000
7
+ CMD ["gunicorn", "--bind", "0.0.0.0:10000", "app:app"]