llama-cpp-python-djs-bot/Dockerfile.gpu

17 lines
323 B
Docker
Raw Normal View History

2023-05-19 15:32:21 -04:00
FROM nvidia/cuda:12.1.1-devel-ubuntu20.04
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /app
RUN apt update
RUN apt install sudo curl -y
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && sudo apt-get install -y nodejs
COPY package*.json ./
RUN npm install --omit=dev
COPY . .
CMD node llamabot.js