File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ COPY ./.markdownlint.yaml ${WORKDIR}/
4949# yamllint conf
5050COPY ./.yamllint ${WORKDIR}/
5151COPY ./.yamlignore ${WORKDIR}/
52+ COPY ./.gitignore ${WORKDIR}/
53+
54+ # Dependencies
55+ RUN npm ci --verbose --ignore-scripts
5256
5357CMD ["make" , "lint" ]
5458# ##############################################################################
@@ -57,12 +61,15 @@ FROM base AS development
5761ENV WORKDIR=/app
5862WORKDIR ${WORKDIR}
5963
64+ # Code source
6065COPY ./src ${WORKDIR}/src
6166COPY ./package.json ${WORKDIR}/package.json
6267COPY ./package-lock.json ${WORKDIR}/package-lock.json
6368COPY ./Makefile ${WORKDIR}/
6469
65- RUN npm ci --verbose --ignore-scripts
70+ # Dependencies
71+ COPY --from=lint /app/node_modules ${WORKDIR}/node_modules
72+
6673RUN ls -alh
6774
6875# CMD []
You can’t perform that action at this time.
0 commit comments