maylinejix commited on
Commit
0e8ec63
·
verified ·
1 Parent(s): 4c25f7e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-slim
2
+
3
+ RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
4
+
5
+ WORKDIR /app
6
+
7
+ RUN git clone https://huggingface.co/spaces/HerzaJ/playwright .
8
+
9
+ RUN npm install
10
+
11
+ RUN npx playwright install --with-deps chromium || true
12
+
13
+ EXPOSE 7860
14
+
15
+ CMD ["node", "server.js"]