Docker file cleanup (#4397)

This commit is contained in:
Peter Hedenskog 2025-01-08 19:23:14 +01:00 committed by GitHub
parent fe73cdd913
commit 7c769f9ab4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -4,5 +4,7 @@
!package.json
!LICENSE
!npm-shrinkwrap.json
!docker
!docker/adb
!docker/scripts
!tools/postinstall.js
!docker/webpagereplay/

View File

@ -31,7 +31,8 @@ COPY npm-shrinkwrap.json /usr/src/app/
COPY tools/postinstall.js /usr/src/app/tools/postinstall.js
RUN npm install --production && npm cache clean --force
COPY . /usr/src/app
COPY ./bin/ /usr/src/app/bin/
COPY ./lib/ /usr/src/app/lib/
RUN rm -fR /usr/src/app/node_modules/selenium-webdriver/bin
COPY docker/scripts/start.sh /start.sh