Aasher commited on
Commit
d7e1a69
·
1 Parent(s): c1fe1f5

Updated dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -10,7 +10,7 @@ RUN apt-get update && \
10
  mkdir -p /.cache/uv
11
 
12
  # Copy project configuration first
13
- COPY pyproject.toml .
14
 
15
  # Install Python packages as root using uv sync
16
  RUN uv sync && \
@@ -32,7 +32,8 @@ ENV HOME=/home/user \
32
  WORKDIR $HOME/app
33
 
34
  # Copy application files with correct ownership
35
- COPY --chown=user:user . .
 
36
 
37
  # Expose the necessary ports
38
  EXPOSE 8082
 
10
  mkdir -p /.cache/uv
11
 
12
  # Copy project configuration first
13
+ COPY pyproject.toml .
14
 
15
  # Install Python packages as root using uv sync
16
  RUN uv sync && \
 
32
  WORKDIR $HOME/app
33
 
34
  # Copy application files with correct ownership
35
+ COPY --chown=user:user ./app.py ./app.py
36
+ COPY --chown=user:user . .
37
 
38
  # Expose the necessary ports
39
  EXPOSE 8082