22 lines
414 B
Docker
22 lines
414 B
Docker
FROM node:20.12.2-alpine
|
|
|
|
RUN mkdir /app
|
|
WORKDIR /app
|
|
COPY . .
|
|
|
|
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"]
|