Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ch27264]Update linting tools #1660

Merged
merged 5 commits into from
Jan 6, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions frontend_cluster/Dockerfile-bundle
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
FROM node:11.9.0-alpine as builder
FROM node:12.22.7-alpine3.12 as builder
RUN apk update
RUN apk add --update bash

RUN apk add git
RUN npm install -g --unsafe-perm polymer-cli
RUN npm install -g typescript
RUN npm install -g typescript@4.x


WORKDIR /tmp
ADD package.json /tmp/
ADD package-lock.json /tmp/

RUN npm install --no-save --production
RUN npm ci --production

ADD . /code/
WORKDIR /code
RUN cp -a /tmp/node_modules /code/node_modules
RUN npm run build


FROM node:11.9.0-alpine
FROM node:12.22.7-alpine3.12
RUN apk update
RUN apk add --update bash

WORKDIR /code
RUN npm install express --no-save
RUN npm install [email protected] --no-save
RUN npm install express@4.17.x
RUN npm install [email protected]
COPY --from=builder /code/express.js /code/express.js
COPY --from=builder /code/build /code/build
EXPOSE 8082
Expand Down
4 changes: 2 additions & 2 deletions frontend_cluster/Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:11.9.0-alpine
FROM node:12.22.7-alpine3.12
RUN apk update
RUN apk add --update bash

RUN apk add git
RUN npm install -g --unsafe-perm polymer-cli
RUN npm install -g gulp
RUN npm install -g typescript
RUN npm install -g typescript@4.x

WORKDIR /code
Loading