sebastiansarasti commited on
Commit
924647a
·
1 Parent(s): fa08326

solving docker file

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -4,11 +4,12 @@ FROM python:3.11-slim
4
  WORKDIR /app
5
 
6
  # Copy files
 
7
  COPY src/app ./src/app
8
 
9
  # Install uv and Python packages
10
  RUN pip install uv
11
- RUN uv pip install --system -r /src/app/requirements.txt
12
 
13
  # Create non-root user and give permissions
14
  RUN useradd -m appuser && \
 
4
  WORKDIR /app
5
 
6
  # Copy files
7
+ COPY src/app/requirements.txt ./requirements.txt
8
  COPY src/app ./src/app
9
 
10
  # Install uv and Python packages
11
  RUN pip install uv
12
+ RUN uv pip install --system -r requirements.txt
13
 
14
  # Create non-root user and give permissions
15
  RUN useradd -m appuser && \