Jamy
05/08/2025, 11:43 PMwasmJsBrowserDistribution
, the index.html and styles.css files are missing.
However, they are well built if I perform the same build action locally on my machine.
Do you have any idea what’s causing the problem?
FROM gradle:8.11.1-jdk21 AS build
COPY --chown=gradle:gradle .. /home/gradle/src
WORKDIR /home/gradle/src
RUN gradle backoffice:wasmJsBrowserDistribution
RUN ls -la /home/gradle/src/backoffice/build/dist/wasmJs/productionExecutable
FROM httpd:2.4 AS runtime
COPY --from=build /home/gradle/src/backoffice/build/dist/wasmJs/productionExecutable/ /usr/local/apache2/htdocs/
EXPOSE 80