Skip to content

Commit

Permalink
Docker file cleanup (#4397)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored Jan 8, 2025
1 parent fe73cdd commit 7c769f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
!package.json
!LICENSE
!npm-shrinkwrap.json
!docker
!docker/adb
!docker/scripts
!tools/postinstall.js
!docker/webpagereplay/
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c769f9

Please sign in to comment.