diff --git a/Dockerfile b/Dockerfile index e69d3e7..c7e451f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,20 @@ -FROM node AS builder +FROM node:14.14.0-alpine3.10 AS builder +RUN npm --version WORKDIR / COPY ./src /src COPY ./package*.json ./ COPY ./gulpfile.js ./ COPY ./tsconfig.json ./ +COPY ./.eslintrc.json ./ RUN npm install -RUN npm install -g gulp + RUN npm install gulp +RUN npx eslint --config .eslintrc.json +RUN npx gulp -RUN gulp -FROM node +FROM node:14.14.0-alpine3.10 COPY --from=builder ./dist ./dist COPY --from=builder ./package*.json ./ RUN npm install --production diff --git a/package-lock.json b/package-lock.json index a8762f0..f0cc370 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5390,9 +5390,9 @@ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" }, "object-path": { - "version": "0.11.4", - "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.4.tgz", - "integrity": "sha1-NwrnUvvzfePqcKhhwju6iRVpGUk=" + "version": "0.11.5", + "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.5.tgz", + "integrity": "sha512-jgSbThcoR/s+XumvGMTMf81QVBmah+/Q7K7YduKeKVWL7N111unR2d6pZZarSk6kY/caeNxUDyxOvMWyzoU2eg==" }, "object-visit": { "version": "1.0.1",