Spaces:
Running
on
T4
Running
on
T4
sparkleman
commited on
Commit
·
1b68e82
1
Parent(s):
cb56db7
UPDATE
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -21,6 +21,8 @@ RUN git clone https://github.com/SolomonLeon/web-rwkv-realweb.git /frontend
|
|
| 21 |
WORKDIR /frontend
|
| 22 |
RUN pnpm install && pnpm run build
|
| 23 |
|
|
|
|
|
|
|
| 24 |
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
| 25 |
|
| 26 |
COPY . .
|
|
@@ -34,7 +36,6 @@ ENV HOME=/home/user \
|
|
| 34 |
WORKDIR $HOME/app
|
| 35 |
|
| 36 |
COPY --chown=user . $HOME/app
|
| 37 |
-
COPY --chown=user /frontend/dist $HOME/app/dist-frontend
|
| 38 |
|
| 39 |
|
| 40 |
RUN uv sync --frozen --extra cu124
|
|
|
|
| 21 |
WORKDIR /frontend
|
| 22 |
RUN pnpm install && pnpm run build
|
| 23 |
|
| 24 |
+
COPY /frontend/dist $HOME/dist-frontend
|
| 25 |
+
|
| 26 |
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
| 27 |
|
| 28 |
COPY . .
|
|
|
|
| 36 |
WORKDIR $HOME/app
|
| 37 |
|
| 38 |
COPY --chown=user . $HOME/app
|
|
|
|
| 39 |
|
| 40 |
|
| 41 |
RUN uv sync --frozen --extra cu124
|