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 34fa15d commit 5ba3e27Copy full SHA for 5ba3e27
Dockerfile
@@ -1,10 +1,13 @@
1
-FROM node:alpine
+FROM node:alpine AS builder
2
WORKDIR /usr/src/openapi
3
4
COPY ["package.json", "package-lock.json", "./"]
5
RUN ["npm", "install"]
6
7
COPY . /usr/src/openapi
8
RUN npm run release
9
+
10
+FROM node:alpine
11
+COPY --from=builder /usr/src/openapi/bin/index.js /usr/src/openapi/bin/index.js
12
ENTRYPOINT [ "node", "/usr/src/openapi/bin/index.js" ]
13
CMD "--help"
0 commit comments