siputzx commited on
Commit
b63582e
·
verified ·
1 Parent(s): 844fb5f

Delete Dockerfile.txt

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +0 -26
Dockerfile.txt DELETED
@@ -1,26 +0,0 @@
1
- # Gunakan image Node yang mendukung Playwright
2
- FROM mcr.microsoft.com/playwright:focal
3
-
4
- # Set environment variable untuk menghindari dialog pada Playwright
5
- ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD 1
6
-
7
- # Tentukan work directory
8
- WORKDIR /app
9
-
10
- # Copy file package.json dan package-lock.json
11
- COPY package*.json ./
12
-
13
- # Install dependencies
14
- RUN npm install
15
-
16
- # Copy semua file ke container
17
- COPY . .
18
-
19
- # Install Playwright dependencies dan browser binaries
20
- RUN npx playwright install --with-deps
21
-
22
- # Expose port untuk aplikasi
23
- EXPOSE 7860
24
-
25
- # Start aplikasi
26
- CMD ["npm", "start"]