Files
monorepo/LCU.WebApps.Collections.RepoClient/Dockerfile
T
2026-03-25 15:35:18 +00:00

23 lines
402 B
Docker

FROM node:14-bullseye AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install -g [email protected]
RUN npm ci --unsafe-perm --before=2025-09-01 --ignore-scripts
COPY . ./
RUN npm run postinstall
RUN npm run build
FROM nginx:1.25-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]