File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ COPY ./CODE_OF_CONDUCT.md ${WORKDIR}/
3434COPY ./src ${WORKDIR}/src
3535COPY ./package.json ${WORKDIR}/package.json
3636COPY ./package-lock.json ${WORKDIR}/package-lock.json
37+ COPY ./tsconfig.json ${WORKDIR}/
3738COPY ./Makefile ${WORKDIR}/
3839
3940# code linting conf
@@ -48,6 +49,10 @@ COPY ./.markdownlint.yaml ${WORKDIR}/
4849# yamllint conf
4950COPY ./.yamllint ${WORKDIR}/
5051COPY ./.yamlignore ${WORKDIR}/
52+ COPY ./.gitignore ${WORKDIR}/
53+
54+ # Dependencies
55+ RUN npm ci --verbose --ignore-scripts
5156
5257CMD ["make" , "lint" ]
5358
@@ -57,14 +62,17 @@ FROM base AS development
5762ENV WORKDIR=/app
5863WORKDIR ${WORKDIR}
5964
65+ # Code source
6066COPY ./src ${WORKDIR}/src
6167COPY ./package.json ${WORKDIR}/package.json
6268COPY ./package-lock.json ${WORKDIR}/package-lock.json
6369COPY ./Makefile ${WORKDIR}/
6470COPY ./tsconfig.json ${WORKDIR}/tsconfig.json
6571COPY ./tsconfig.prod.json ${WORKDIR}/tsconfig.prod.json
6672
67- RUN npm ci --verbose --ignore-scripts
73+ # Dependencies
74+ COPY --from=lint /app/node_modules ${WORKDIR}/node_modules
75+
6876RUN ls -alh
6977
7078# CMD []
You can’t perform that action at this time.
0 commit comments