ernestobs7 commited on
Commit
bccc2a1
·
1 Parent(s): fe0f020

Fix: Installed system dependencies for numpy build

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -14,10 +14,13 @@ ENV UVICORN_WS_PROTOCOL=websockets
14
  # Set the working directory
15
  WORKDIR $HOME/app
16
 
 
 
 
17
  # Copy the app to the container
18
  COPY --chown=user . $HOME/app
19
 
20
- # Copy dependencies
21
  COPY pyproject.toml .
22
 
23
  # Install dependencies
 
14
  # Set the working directory
15
  WORKDIR $HOME/app
16
 
17
+ # Install required system dependencies for building packages
18
+ RUN apt-get update && apt-get install -y gcc g++ python3-dev
19
+
20
  # Copy the app to the container
21
  COPY --chown=user . $HOME/app
22
 
23
+ # Copy dependencies separately
24
  COPY pyproject.toml .
25
 
26
  # Install dependencies