Skip to content

Commit 38a9acd

Browse files
authored
Fix 'npm ci' step in Dockerfiles (#153)
1 parent a8f39b5 commit 38a9acd

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

go/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ make
77
## Publish container images
88

99
```console
10-
make publish-functions
10+
scripts/publish-functions.sh
1111
```
1212

1313
## Update typegen binary
1414

15-
To updated typgen binary in `create-kpt-functions` package:
15+
To generate an updated typgen binary in `create-kpt-functions` package:
1616

1717
```console
18-
make publish-typegen
18+
make package-typegen
1919
```

ts/create-kpt-functions/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ts/create-kpt-functions/templates/Dockerfile.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WORKDIR /home/node/app
99

1010
# Install dependencies and cache them.
1111
COPY --chown=node:node package*.json ./
12-
RUN npm ci
12+
RUN npm ci --ignore-scripts
1313

1414
# Build the source.
1515
COPY --chown=node:node tsconfig.json .

0 commit comments

Comments
 (0)