We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c66b45b commit 9808b47Copy full SHA for 9808b47
Dockerfile
@@ -3,6 +3,12 @@ FROM node:18-alpine
3
WORKDIR /app
4
COPY . .
5
6
-RUN npm config set unsafe-perm true && npm ci && npm run build && npm prune --production
+RUN apk add --no-cache --virtual .build-deps git
7
+RUN npm config set unsafe-perm true && \
8
+ npm ci && \
9
+ npm run build && \
10
+ npm run generate:git-info && \
11
+ npm prune --production
12
+RUN apk del .build-deps
13
14
CMD ["node", "./dist/src/index.js"]
0 commit comments