File tree Expand file tree Collapse file tree 3 files changed +429
-3
lines changed
Expand file tree Collapse file tree 3 files changed +429
-3
lines changed Original file line number Diff line number Diff line change 4242 - name : publint
4343 run : npx publint
4444
45+ docker-build :
46+ runs-on : ubuntu-latest
47+ permissions :
48+ contents : read
49+ steps :
50+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
51+ with :
52+ submodules : true
53+ - name : Build Docker image
54+ run : docker build .
55+
4556 pinact :
4657 runs-on : ubuntu-latest
4758 permissions :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ COPY . /app
44
55WORKDIR /app
66
7- RUN --mount=type=cache,target=/root/.npm-production npm ci --ignore-scripts --omit-dev
7+ RUN --mount=type=cache,target=/root/.npm-production npm ci --ignore-scripts
88
99RUN --mount=type=cache,target=/root/.npm npm run build
1010
@@ -57,7 +57,7 @@ WORKDIR /app
5757RUN chown -R appuser:appgroup /app
5858
5959# Install *only* the production dependencies
60- RUN npm ci --ignore-scripts --omit- dev
60+ RUN npm ci --ignore-scripts --omit= dev
6161
6262# Now, switch to running as our non-root user for the actual app process
6363USER appuser
You can’t perform that action at this time.
0 commit comments