docker: respect package-lock.json, not just package.json

This commit is contained in:
Ralf Vogler 2022-10-20 19:55:42 +02:00
parent e3eb26d527
commit ef72506431

View file

@ -57,7 +57,7 @@ RUN apt-get update \
&& ln -s $NOVNC_HOME/vnc_auto.html $NOVNC_HOME/index.html && ln -s $NOVNC_HOME/vnc_auto.html $NOVNC_HOME/index.html
WORKDIR /fgc WORKDIR /fgc
COPY package.json . COPY package*.json .
# Install chromium & dependencies only # Install chromium & dependencies only
RUN npm install \ RUN npm install \
&& npx playwright install --with-deps chromium \ && npx playwright install --with-deps chromium \