docker: respect package-lock.json, not just package.json
This commit is contained in:
parent
e3eb26d527
commit
ef72506431
1 changed files with 2 additions and 2 deletions
|
|
@ -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 \
|
||||||
|
|
@ -69,7 +69,7 @@ COPY . .
|
||||||
# Shell scripts
|
# Shell scripts
|
||||||
RUN dos2unix ./docker/*.sh
|
RUN dos2unix ./docker/*.sh
|
||||||
RUN mv ./docker/entrypoint.sh /usr/local/bin/entrypoint \
|
RUN mv ./docker/entrypoint.sh /usr/local/bin/entrypoint \
|
||||||
&& chmod +x /usr/local/bin/entrypoint
|
&& chmod +x /usr/local/bin/entrypoint
|
||||||
|
|
||||||
ENTRYPOINT ["entrypoint"]
|
ENTRYPOINT ["entrypoint"]
|
||||||
CMD ["node", "epic-games.js"]
|
CMD ["node", "epic-games.js"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue