We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aecc60 commit 0ff55cfCopy full SHA for 0ff55cf
Dockerfile
@@ -1,15 +1,16 @@
1
FROM node:14-buster
2
3
+RUN apt-get update \
4
+ && apt-get install -y python3-pip \
5
+ && pip3 install pylint \
6
+ && apt-get install -y clang-tidy
7
+
8
+RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1 && cp ./bin/golangci-lint /usr/local/bin/golangci-lint
9
10
WORKDIR /app
11
COPY ./package.json ./
12
RUN npm install
13
COPY . .
14
RUN npm run build
15
-RUN apt-get update \
- && apt-get install -y python3-pip \
- && pip3 install pylint
-
-RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1 && cp ./bin/golangci-lint /usr/local/bin/golangci-lint
16
CMD ["npm", "run", "start:prod"]
0 commit comments