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