Tailchat-Assistant/Dockerfile

22 lines
414 B
Docker
Raw Normal View History

2024-07-25 12:55:48 -04:00
FROM node:20.12.2-alpine
RUN mkdir /app
2024-07-25 12:55:48 -04:00
WORKDIR /app
COPY . .
2024-07-25 12:55:48 -04:00
RUN npm i && npm run build
ENV HOST="http://localhost:11000"
ENV ID=""
ENV SECRET=""
ENV API_ENDPOINT="http://localhost:8080/v1"
ENV API_KEY="none"
ENV TEXT_MODEL="gpt-4"
ENV CREATE_IMAGE_MODEL="stablediffusion-cpp"
ENV ANALYZE_IMAGE_MODEL="gpt-4-vision-preview"
ENV TEMPERATURE=1
ENV ALLOWED_CHAT=""
ENV SAFE_WORD="\\"
CMD ["npm", "run", "start"]