mirror of https://github.com/grpc/grpc-web.git
Install python in `prereqs` image (#1350)
Maybe `buildpack-deps` has recently removed python installation by default and hence is observing some errors.
This commit is contained in:
parent
9c48d290b2
commit
7c52878457
|
@ -29,8 +29,6 @@ RUN npm install && \
|
|||
cp index.html /var/www/html && \
|
||||
cp dist/main.js /var/www/html/dist
|
||||
|
||||
RUN apt-get -qq update && apt-get -qq install -y python
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
EXPOSE 8081
|
||||
|
|
|
@ -54,6 +54,8 @@ FROM node:20.0.0-bullseye AS copy-and-build
|
|||
ARG MAKEFLAGS=-j8
|
||||
ARG BAZEL_VERSION=4.1.0
|
||||
|
||||
RUN apt-get -qq update && apt-get -qq install -y python
|
||||
|
||||
RUN mkdir -p /var/www/html/dist
|
||||
RUN echo "\nloglevel=error\n" >> $HOME/.npmrc
|
||||
|
||||
|
|
Loading…
Reference in New Issue