Ani14 commited on
Commit
3fc153a
·
verified ·
1 Parent(s): ab3691c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -19
Dockerfile CHANGED
@@ -1,19 +1,19 @@
1
- FROM python:3.9-slim
2
-
3
- # Set the working directory to /app
4
- WORKDIR /app
5
-
6
- # Copy the requirements file
7
- COPY requirements.txt .
8
-
9
- # Install the dependencies
10
- RUN pip install -r requirements.txt
11
-
12
- # Copy the application code
13
- COPY . .
14
-
15
- # Expose the port
16
- EXPOSE 8000
17
-
18
- # Run the command to start the development server
19
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
1
+ FROM python:3.9-slim
2
+
3
+ # Set the working directory to /app
4
+ WORKDIR /app
5
+
6
+ # Copy the requirements file
7
+ COPY requirements.txt .
8
+
9
+ # Install the dependencies
10
+ RUN pip install -r requirements.txt
11
+
12
+ # Copy the application code
13
+ COPY . .
14
+
15
+ # Expose the port
16
+ EXPOSE 8000
17
+
18
+ # Run the command to start the development server
19
+ CMD ["uvicorn", "predict:app", "--host", "0.0.0.0", "--port", "8000"]