mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-11-28 08:50:02 +00:00
fix(docker): correct dist path after WORKDIR=/build/web
Stage 2 was looking for /build/dist but vite emits to /build/web/dist (WORKDIR is /build/web in stage 1). Fix the COPY --from=builder path.
This commit is contained in:
1 parent
faba2dee5d
commit
d93d4c6cd0
1 file changed
+1
-1
+1
-1
@@ -46,7 +46,7 @@ RUN npm run build
|
|||||||
# if the image were ever exposed.
|
# if the image were ever exposed.
|
||||||
FROM busybox:musl
|
FROM busybox:musl
|
||||||
WORKDIR /dist
|
WORKDIR /dist
|
||||||
COPY --from=builder /build/dist /dist
|
COPY --from=builder /build/web/dist /dist
|
||||||
LABEL org.opencontainers.image.source="https://github.com/pezkuwichain/pwap"
|
LABEL org.opencontainers.image.source="https://github.com/pezkuwichain/pwap"
|
||||||
LABEL org.opencontainers.image.description="pwap/web static SPA — Pezkuwi wallet/exchange frontend"
|
LABEL org.opencontainers.image.description="pwap/web static SPA — Pezkuwi wallet/exchange frontend"
|
||||||
LABEL org.opencontainers.image.licenses="proprietary"
|
LABEL org.opencontainers.image.licenses="proprietary"
|
||||||
|
|||||||
Reference in new issue
Block a user