Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:16.14-alpine
LABEL MAINTAINER="VdMtl"

# Create app directory
Expand All @@ -10,10 +10,10 @@ WORKDIR /usr/src/lib
COPY --chown=node:node . /usr/src/lib

# Install deps
RUN npm i
RUN npm ci --ignore-scripts

# Build library
RUN npm run build
RUN npm run build-storybook

# Publish the library
CMD ["npm", "publish", "dist/angular-ui", "--tag", "latest", "--unsafe-perm"]
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sbCtx = pipeline.createContext([
// ],
[
name: "nodejs",
image: "node:16.13.2-alpine",
image: "node:16.14-alpine",
ttyEnabled: true,
command: "cat",
],
Expand Down Expand Up @@ -131,7 +131,7 @@ pipeline.start(sbCtx) {
pipeline.buildStage(sbCtx) {
// first, regen the static web assets used by the Hugo site
container("nodejs") {
sh "npm ci"
sh "npm ci --ignore-scripts"
sh "npm run build-storybook"
}
// finally, build the image
Expand Down