Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM mcr.microsoft.com/playwright:focal
|
2 |
+
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD 1
|
3 |
+
WORKDIR /app
|
4 |
+
COPY package*.json ./
|
5 |
+
RUN npm install
|
6 |
+
COPY . .
|
7 |
+
RUN npx playwright install --with-deps
|
8 |
+
EXPOSE 3000
|
9 |
+
CMD ["npm", "start"]
|