Files
AI/참고/firecrawl-main/apps/playwright-service-ts/Dockerfile
2026-05-12 19:40:31 +09:00

22 lines
315 B
Docker

FROM node:18-slim
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
ENV PLAYWRIGHT_BROWSERS_PATH=/usr/local/share/playwright
# Install Playwright dependencies
RUN npx playwright install chromium --with-deps
RUN npm run build
ARG PORT
ENV PORT=${PORT}
EXPOSE ${PORT}
CMD [ "npm", "start" ]