dtrovato997 commited on
Commit
a5a79d3
·
1 Parent(s): 8e8a246

fix dockerfiled

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -15,14 +15,14 @@ ENV HOME=/home/user \
15
  PATH=/home/user/.local/bin:$PATH
16
 
17
  # Set working directory
18
- WORKDIR /app
19
 
20
  # Copy requirements and install Python dependencies
21
  COPY requirements.txt .
22
  RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  # Copy application code
25
- COPY . .
26
 
27
  # Create directories
28
  RUN mkdir -p uploads cache
 
15
  PATH=/home/user/.local/bin:$PATH
16
 
17
  # Set working directory
18
+ WORKDIR $HOME/app
19
 
20
  # Copy requirements and install Python dependencies
21
  COPY requirements.txt .
22
  RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  # Copy application code
25
+ COPY --chown=user . $HOME/app
26
 
27
  # Create directories
28
  RUN mkdir -p uploads cache