a1c00l commited on
Commit
a2d357b
·
verified ·
1 Parent(s): ea1f334

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -6,14 +6,16 @@ WORKDIR /app
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
- # Copy application code
10
- COPY src/ /app/src/
 
 
 
11
 
12
  # Set environment variables
13
  ENV PYTHONPATH=/app
14
 
15
  # Create entrypoint script
16
- COPY entrypoint.sh /app/
17
  RUN chmod +x /app/entrypoint.sh
18
 
19
  # Command to run the application
 
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
+ # Copy all application files (including setup.py)
10
+ COPY . /app
11
+
12
+ # Install the package in development mode
13
+ RUN pip install -e .
14
 
15
  # Set environment variables
16
  ENV PYTHONPATH=/app
17
 
18
  # Create entrypoint script
 
19
  RUN chmod +x /app/entrypoint.sh
20
 
21
  # Command to run the application