FROM oven/bun:1 WORKDIR /code RUN apt update && apt install -y git RUN git clone https://github.com/0zl/phr.git . RUN bash scripts/dependencies_no_browser.sh RUN apt install -y curl RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb RUN apt-get install -y ./google-chrome-stable_current_amd64.deb RUN rm google-chrome-stable_current_amd64.deb RUN echo "Chrome: " && google-chrome --version RUN which google-chrome #RUN bunx puppeteer browsers install chrome ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome RUN echo $PUPPETEER_EXECUTABLE_PATH RUN bun install COPY . . EXPOSE 7860 CMD [ "bun", "run", "main.ts" ]