shiveshnavin commited on
Commit
0cfa31a
·
1 Parent(s): f494c66
Files changed (1) hide show
  1. Dockerfile +1 -13
Dockerfile CHANGED
@@ -1,20 +1,8 @@
1
- # Use an official Python runtime as a base image
2
  FROM python:3.10-slim
3
-
4
- # Set the working directory in the container
5
  WORKDIR /app
6
-
7
- # Copy the requirements.txt file into the container
8
  COPY requirements.txt /app/
9
-
10
- # Install dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
-
13
- # Copy the app files into the container
14
  COPY . /app/
15
-
16
- # Expose the port the app runs on
17
  EXPOSE 7860
18
-
19
- # Run the application
20
  CMD ["python", "app.py"]
 
 
1
  FROM python:3.10-slim
 
 
2
  WORKDIR /app
 
 
3
  COPY requirements.txt /app/
4
+ RUN apt install cmake
 
5
  RUN pip install --no-cache-dir -r requirements.txt
 
 
6
  COPY . /app/
 
 
7
  EXPOSE 7860
 
 
8
  CMD ["python", "app.py"]