amanSethSmava commited on
Commit
d8b5ffa
·
1 Parent(s): 0e53be8

use docker

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -8
Dockerfile CHANGED
@@ -1,27 +1,21 @@
 
1
 
2
- FROM python:3.10-slim
3
-
4
- # Install system dependencies
5
  RUN apt-get update && apt-get install -y \
6
  cmake \
7
  libboost-all-dev \
8
- python3-dev \
9
  build-essential \
 
10
  libopenblas-dev \
11
  liblapack-dev \
12
  git \
13
  && rm -rf /var/lib/apt/lists/*
14
 
15
- # Set working directory
16
  WORKDIR /app
17
 
18
- # Install Python dependencies
19
  COPY requirements.txt .
20
  RUN pip install --upgrade pip
21
  RUN pip install -r requirements.txt
22
 
23
- # Copy app code
24
  COPY . .
25
 
26
- # Run app
27
  CMD ["python", "app.py"]
 
1
+ FROM python:3.10
2
 
 
 
 
3
  RUN apt-get update && apt-get install -y \
4
  cmake \
5
  libboost-all-dev \
 
6
  build-essential \
7
+ python3-dev \
8
  libopenblas-dev \
9
  liblapack-dev \
10
  git \
11
  && rm -rf /var/lib/apt/lists/*
12
 
 
13
  WORKDIR /app
14
 
 
15
  COPY requirements.txt .
16
  RUN pip install --upgrade pip
17
  RUN pip install -r requirements.txt
18
 
 
19
  COPY . .
20
 
 
21
  CMD ["python", "app.py"]