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 bunx puppeteer browsers install chrome RUN bun install COPY . . EXPOSE 7860 CMD [ "bun", "run", "main.ts" ]