mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 19:58:08 +08:00
20 lines
248 B
Docker
20 lines
248 B
Docker
|
FROM node:18-slim
|
||
|
|
||
|
WORKDIR /usr/src/app
|
||
|
COPY package*.json ./
|
||
|
RUN npm install
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
# Install Playwright dependencies
|
||
|
RUN npx playwright install --with-deps
|
||
|
|
||
|
RUN npm run build
|
||
|
|
||
|
ARG PORT
|
||
|
ENV PORT=${PORT}
|
||
|
|
||
|
EXPOSE ${PORT}
|
||
|
|
||
|
CMD [ "npm", "start" ]
|