#stage 1 FROM debian as debian WORKDIR /app COPY . . RUN apt update && apt install -y leiningen RUN lein cljsbuild once #stage 2 FROM nginx COPY --from=debian /app/resources/public /usr/share/nginx/html