yashsecdev commited on
Commit
e679ce0
·
1 Parent(s): e897007

build: install package itself to ensure all dependencies are installed

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -35,6 +35,9 @@ RUN pip install --no-cache-dir --upgrade pip && \
35
  # Copy the rest of the application
36
  COPY . .
37
 
 
 
 
38
  # Copy built frontend assets from Stage 1
39
  COPY --from=build-frontend /app/web_client/dist /app/web_client/dist
40
 
 
35
  # Copy the rest of the application
36
  COPY . .
37
 
38
+ # Install the package itself to ensure all dependencies (e.g. cryptography) from pyproject.toml are installed
39
+ RUN pip install .
40
+
41
  # Copy built frontend assets from Stage 1
42
  COPY --from=build-frontend /app/web_client/dist /app/web_client/dist
43