ahmadardhy commited on
Commit
723221b
1 Parent(s): acda41c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -19
Dockerfile CHANGED
@@ -1,19 +1,19 @@
1
- FROM python:3.8
2
-
3
- # Set the working directory
4
- WORKDIR /code
5
-
6
- # Copy the requirements file into the container
7
- COPY ./requirements.txt /code/requirements.txt
8
-
9
- # Install the dependencies
10
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
-
12
- # Copy the rest of the application code
13
- COPY . .
14
-
15
- # Expose the port the app runs on
16
- EXPOSE 7860
17
-
18
- # Command to run the application
19
- CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]
 
1
+ FROM python:3.8
2
+
3
+ # Set the working directory
4
+ WORKDIR /code
5
+
6
+ # Copy the requirements file into the container
7
+ COPY ./requirements.txt /code/requirements.txt
8
+
9
+ # Install the dependencies
10
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
+
12
+ # Copy the rest of the application code
13
+ COPY . .
14
+
15
+ # Expose the port the app runs on
16
+ EXPOSE 7860
17
+
18
+ # Command to run the application
19
+ CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]