FROM alpine AS clone WORKDIR /source RUN apk add --no-cache git RUN git clone https://github.com/TavernAI/TavernAI FROM node:19-alpine AS runtime WORKDIR /app COPY --from=clone /source/TavernAI /app/TavernAI WORKDIR /app/TavernAI CMD ["node","./server.js"]