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}/
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,15 @@ FROM base AS development
57
61
ENV WORKDIR=/app
58
62
WORKDIR ${WORKDIR}
59
63
64
+ # Code source
60
65
COPY ./src ${WORKDIR}/src
61
66
COPY ./package.json ${WORKDIR}/package.json
62
67
COPY ./package-lock.json ${WORKDIR}/package-lock.json
63
68
COPY ./Makefile ${WORKDIR}/
64
69
65
- RUN npm ci --verbose --ignore-scripts
70
+ # Dependencies
71
+ COPY --from=lint /app/node_modules ${WORKDIR}/node_modules
72
+
66
73
RUN ls -alh
67
74
68
75
# CMD []
You can’t perform that action at this time.
0 commit comments