syedmoinms commited on
Commit
5109c6f
·
verified ·
1 Parent(s): 9ebfe7e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -3
Dockerfile CHANGED
@@ -1,10 +1,16 @@
 
1
  FROM python:3.10
2
 
 
3
  WORKDIR /app
4
- COPY requirements.txt requirements.txt
5
 
6
- RUN pip install --no-cache-dir -r requirements.txt
 
 
 
7
 
8
- COPY . .
 
9
 
 
10
  CMD ["python", "app.py"]
 
1
+ # Use Official Python Image
2
  FROM python:3.10
3
 
4
+ # Set Working Directory
5
  WORKDIR /app
 
6
 
7
+ # Copy Files
8
+ COPY requirements.txt /app/requirements.txt
9
+ COPY app.py /app/app.py
10
+ COPY config.json /app/config.json
11
 
12
+ # Install Dependencies
13
+ RUN pip install --no-cache-dir -r requirements.txt
14
 
15
+ # Run App
16
  CMD ["python", "app.py"]