ankush13r commited on
Commit
680c4d8
·
verified ·
1 Parent(s): 1514916

Update Dockerfile

Browse files

install npx playwright install-deps

Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -74,11 +74,11 @@ RUN mkdir -p /data/db \
74
 
75
  # Switch to the "root" user
76
  USER root
77
- RUN npx playwright install
78
 
79
  # Switch to the "node" user
80
  USER node
81
- RUN npx playwright install
82
 
83
  # Set user environment variables
84
  ENV HOME=/home/node \
 
74
 
75
  # Switch to the "root" user
76
  USER root
77
+ RUN npx playwright install-deps && npx playwright install
78
 
79
  # Switch to the "node" user
80
  USER node
81
+ RUN npx playwright install-deps && npx playwright install
82
 
83
  # Set user environment variables
84
  ENV HOME=/home/node \