@ -1,4 +1,6 @@
FROM node:18.18-bullseye as builder
ARG BUILDDATE
ENV BUILDDATE $BUILDDATE
RUN git clone https://git.pblr-nyk.pro/gsd/Facti13.Frontend.VueMaterial && \
mv Facti13.Frontend.VueMaterial /app && chown node:node -R /app && chmod 770 -R /app && \
@ -6,7 +8,7 @@ echo "export const VERSION = $(date +%s);" > /app/src/api/version.js
USER node
WORKDIR /app
RUN npm install && npm run build
RUN npm install --reg https://nexus.pblr-nyk.pro/repository/npm/ && npm run build
FROM nginx:stable-alpine
COPY --from=builder /app/dist /usr/share/nginx/html
@ -45,5 +45,8 @@
"> 1%",
"last 2 versions",
"not dead"
]
],
"publishConfig": {
"registry": "https://nexus.pblr-nyk.pro/repository/npm/"
}