kristiel / Dockerfile
zwv9's picture
Update Dockerfile
5a128c6
raw
history blame
No virus
547 Bytes
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" ]