File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ COPY ./.markdownlint.yaml ${WORKDIR}/
49
49
# yamllint conf
50
50
COPY ./.yamllint ${WORKDIR}/
51
51
COPY ./.yamlignore ${WORKDIR}/
52
+ COPY ./.gitignore ${WORKDIR}/
53
+
54
+ # Dependencies
55
+ RUN npm ci --verbose --ignore-scripts
52
56
53
57
CMD ["make" , "lint" ]
54
58
# ##############################################################################
@@ -57,12 +61,8 @@ FROM base AS development
57
61
ENV WORKDIR=/app
58
62
WORKDIR ${WORKDIR}
59
63
60
- COPY ./src ${WORKDIR}/src
61
- COPY ./package.json ${WORKDIR}/package.json
62
- COPY ./package-lock.json ${WORKDIR}/package-lock.json
63
- COPY ./Makefile ${WORKDIR}/
64
+ COPY --from=lint /app/node_modules ${WORKDIR}/node_modules
64
65
65
- RUN npm ci --verbose --ignore-scripts
66
66
RUN ls -alh
67
67
68
68
# CMD []
You can’t perform that action at this time.
0 commit comments