Spaces:
Sleeping
Sleeping
Durand D'souza
commited on
Docker tweak
Browse files- 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
|
| 16 |
-
|
| 17 |
|
| 18 |
-
#
|
| 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 |
|