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
9 files
+ 3643
51727
Compare changes
  • Side-by-side
  • Inline
Files
9
+ 9
4
FROM debian:stable as builder
RUN apt-get update && apt-get install -y npm git
FROM node:14 as mirador
RUN apt-get update && apt-get install -y git
COPY . /opt
RUN chown -R node:node /opt
EXPOSE 9000
WORKDIR /opt
RUN npm ci
USER node
CMD npm run serve
FROM mirador as builder
RUN npm install
RUN npm run build
FROM caddy:latest as httpd
Loading