add now features
This commit is contained in:
@@ -3,12 +3,12 @@ FROM mcr.microsoft.com/playwright:v1.47.0-jammy
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci
|
RUN npm ci --include=dev
|
||||||
|
|
||||||
# Install Chromium for Playwright
|
# Install Chromium for Playwright
|
||||||
RUN npx playwright install chromium --with-deps
|
RUN npx playwright install chromium --with-deps
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build && npm prune --production
|
||||||
|
|
||||||
CMD ["node", "dist/index.js"]
|
CMD ["node", "dist/index.js"]
|
||||||
|
|||||||
Reference in New Issue
Block a user