Skip to content
Snippets Groups Projects

Resolve "Build dependencies from POC"

Merged David Beniamine requested to merge 24-everything-from-git-no-prod-build-for-dev into main
2 files
+ 7
9
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
4
@@ -5,9 +5,11 @@ RUN chown -R node:node /opt
EXPOSE 9000
WORKDIR /opt
USER node
RUN yarn install
RUN yarn run build
CMD yarn run serve
CMD npm run serve
FROM mirador as builder
RUN npm install
RUN npm run build
FROM caddy:latest as httpd
COPY --from=mirador /opt/public /srv
COPY --from=builder /opt/public /srv
Loading