Durand D'souza commited on
Commit
fec3056
·
unverified ·
1 Parent(s): 8c0860b

Docker tweak

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -12,11 +12,11 @@ RUN sh /uv-installer.sh && rm /uv-installer.sh
12
  # Ensure the installed binary is on the `PATH`
13
  ENV PATH="/root/.local/bin/:$PATH"
14
 
15
- # Copy the current directory contents into the container at .
16
- COPY . .
17
 
18
- # Set the working directory to /
19
- WORKDIR /
20
 
21
  RUN uv sync --frozen
22
 
 
12
  # Ensure the installed binary is on the `PATH`
13
  ENV PATH="/root/.local/bin/:$PATH"
14
 
15
+ # Copy the project into the image
16
+ ADD . /app
17
 
18
+ # Sync the project into a new environment, using the frozen lockfile
19
+ WORKDIR /app
20
 
21
  RUN uv sync --frozen
22