Jaman commited on
Commit
2f25199
·
verified ·
1 Parent(s): 23e2adc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -4,10 +4,16 @@ FROM python:3.10-slim
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
 
 
 
 
 
 
7
  # Copy the current directory contents into the container at /app
8
  ADD . /app
9
 
10
- # Install numpy first to avoid the metadata generation error
11
  RUN pip install --no-cache-dir numpy
12
 
13
  # Install any needed packages specified in requirements.txt
 
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
7
+ # Install necessary system dependencies
8
+ RUN apt-get update && apt-get install -y \
9
+ build-essential \
10
+ python3-dev \
11
+ python3-distutils
12
+
13
  # Copy the current directory contents into the container at /app
14
  ADD . /app
15
 
16
+ # Install numpy first to avoid metadata generation error
17
  RUN pip install --no-cache-dir numpy
18
 
19
  # Install any needed packages specified in requirements.txt