Yassine Mhirsi commited on
Commit
02d5860
·
1 Parent(s): 9db766f

Set PYTHONPATH in Dockerfile to ensure correct imports

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -4,6 +4,9 @@ FROM python:3.10-slim
4
  # Set working directory
5
  WORKDIR /app
6
 
 
 
 
7
  # Install system dependencies
8
  RUN apt-get update && apt-get install -y \
9
  build-essential \
 
4
  # Set working directory
5
  WORKDIR /app
6
 
7
+ # Set PYTHONPATH to ensure imports work correctly
8
+ ENV PYTHONPATH=/app
9
+
10
  # Install system dependencies
11
  RUN apt-get update && apt-get install -y \
12
  build-essential \