Skip to content

Commit c9a3a28

Browse files
committed
build: fix dockerfile for linters
1 parent 2d94145 commit c9a3a28

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ RUN npm install
66
COPY . .
77
RUN npm run build
88

9-
RUN pip3 install pylint
9+
RUN apt-get update \
10+
&& apt-get install -y python3-pip \
11+
&& pip3 install pylint
1012

11-
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
13+
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
1214

1315
CMD ["npm", "run", "start:prod"]

0 commit comments

Comments
 (0)