DevBM commited on
Commit
28dda0b
·
verified ·
1 Parent(s): 8abcbd2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -5,12 +5,15 @@ WORKDIR /app
5
  # Set environment variable to disable Numba caching
6
  ENV NUMBA_DISABLE_CACHE=1
7
 
 
8
  RUN apt-get update && apt-get install -y \
9
  build-essential \
10
  curl \
11
  software-properties-common \
12
  git \
13
- && rm -rf /var/lib/apt/lists/* COPY requirements.txt ./
 
 
14
  COPY src/ ./src/
15
 
16
  RUN pip3 install -r requirements.txt
 
5
  # Set environment variable to disable Numba caching
6
  ENV NUMBA_DISABLE_CACHE=1
7
 
8
+ # Perform apt-get update and install packages
9
  RUN apt-get update && apt-get install -y \
10
  build-essential \
11
  curl \
12
  software-properties-common \
13
  git \
14
+ && rm -rf /var/lib/apt/lists/* # Copy requirements.txt and src/ directory
15
+ # These MUST be on separate lines from the RUN command above
16
+ COPY requirements.txt ./
17
  COPY src/ ./src/
18
 
19
  RUN pip3 install -r requirements.txt