gruhit-patel commited on
Commit
b3aca8d
·
verified ·
1 Parent(s): 5b3feb2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -13
Dockerfile CHANGED
@@ -1,14 +1,14 @@
1
- # Get the image of python
2
- FROM python:3.9
3
-
4
- # Copy all the files from local-dir to machine dir
5
- COPY . .
6
-
7
- # Set the current directory as working dir
8
- WORKDIR /
9
-
10
- # Install the requirements
11
- RUN pip install --no-cache-dir -r ./requirements.txt
12
-
13
- # Launch the server
14
  CMD ["uvicorn", "backend:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ # Get the image of python
2
+ FROM python:3.9
3
+
4
+ # Copy all the files from local-dir to machine dir
5
+ COPY . .
6
+
7
+ # Set the current directory as working dir
8
+ WORKDIR /
9
+
10
+ # Install the requirements
11
+ RUN pip install --no-cache-dir -r ./requirement.txt
12
+
13
+ # Launch the server
14
  CMD ["uvicorn", "backend:app", "--host", "0.0.0.0", "--port", "7860"]