ankush13r commited on
Commit
f7f777c
·
verified ·
1 Parent(s): c39ed14

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -16,7 +16,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
16
  git gettext && \
17
  rm -rf /var/lib/apt/lists/*
18
 
19
- RUN npx playwright install-deps && npx playwright install
 
 
 
 
20
 
21
  RUN git clone https://github.com/langtech-bsc/chat-ui.git --branch production
22
 
@@ -73,9 +77,6 @@ RUN mkdir -p /data/db \
73
 
74
  # Add user only if it doesn't already exist
75
 
76
- # Switch to the "node" user
77
- USER node
78
-
79
  # Set user environment variables
80
  ENV HOME=/home/node \
81
  PATH=/home/node/.local/bin:$PATH
 
16
  git gettext && \
17
  rm -rf /var/lib/apt/lists/*
18
 
19
+ # Switch to node user
20
+ USER node
21
+
22
+ # Install Playwright and its dependencies
23
+ RUN npx playwright install --with-deps
24
 
25
  RUN git clone https://github.com/langtech-bsc/chat-ui.git --branch production
26
 
 
77
 
78
  # Add user only if it doesn't already exist
79
 
 
 
 
80
  # Set user environment variables
81
  ENV HOME=/home/node \
82
  PATH=/home/node/.local/bin:$PATH