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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -16,11 +16,6 @@ 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
- # 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
 
@@ -85,6 +80,9 @@ RUN npm config set prefix /home/node/.local
85
  RUN npm install -g pm2
86
  RUN npm install -g dotenv-cli
87
 
 
 
 
88
  RUN mv /app/chat-ui/node_modules /app/node_modules
89
  RUN mv /app/chat-ui/package.json /app/package.json
90
  RUN mv /app/chat-ui/build /app/build
 
16
  git gettext && \
17
  rm -rf /var/lib/apt/lists/*
18
 
 
 
 
 
 
19
 
20
  RUN git clone https://github.com/langtech-bsc/chat-ui.git --branch production
21
 
 
80
  RUN npm install -g pm2
81
  RUN npm install -g dotenv-cli
82
 
83
+ # Install Playwright and its dependencies
84
+ RUN npx playwright install --with-deps
85
+
86
  RUN mv /app/chat-ui/node_modules /app/node_modules
87
  RUN mv /app/chat-ui/package.json /app/package.json
88
  RUN mv /app/chat-ui/build /app/build