Create Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM nikolaik/python-nodejs:latest
|
| 2 |
+
RUN apt update && apt upgrade -y
|
| 3 |
+
WORKDIR /tmp/app
|
| 4 |
+
RUN npm i @hono/node-server hono \
|
| 5 |
+
playwright playwright-extra \
|
| 6 |
+
pretty-bytes pretty-ms \
|
| 7 |
+
puppeteer-extra-plugin-stealth
|
| 8 |
+
RUN chmod -R 777 /tmp
|
| 9 |
+
RUN npx playwright install chromium
|
| 10 |
+
RUN npx playwright install-deps
|
| 11 |
+
COPY . .
|
| 12 |
+
CMD ["sh", "-c", "node ."]
|