ankush13r commited on
Commit
1514916
·
verified ·
1 Parent(s): 5db5d3c

Update Dockerfile

Browse files

Install playwright

Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -72,8 +72,13 @@ RUN mkdir -p /data/db \
72
 
73
  # Add user only if it doesn't already exist
74
 
75
- # Switch to the "user" user
 
 
 
 
76
  USER node
 
77
 
78
  # Set user environment variables
79
  ENV HOME=/home/node \
 
72
 
73
  # Add user only if it doesn't already exist
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 \