@@ -17,6 +17,7 @@ COPY ui/shadow-cljs.edn ./
|
||||
RUN npx shadow-cljs classpath > /dev/null
|
||||
|
||||
FROM ui-base AS ui
|
||||
COPY shared /build/shared
|
||||
COPY ui/src ./src
|
||||
RUN npx shadow-cljs release app
|
||||
|
||||
@@ -25,6 +26,7 @@ RUN npx shadow-cljs release app
|
||||
# `npm run coverage` (script/docker-ui-coverage) also writes the report to /build/target/coverage/ui.
|
||||
FROM ui-base AS ui-test
|
||||
COPY ui/.c8rc.json ./
|
||||
COPY shared /build/shared
|
||||
COPY ui/src ./src
|
||||
COPY ui/test ./test
|
||||
CMD ["npm", "test"]
|
||||
|
||||
Reference in New Issue
Block a user