2023-01-20 19:31:12 +00:00
|
|
|
FROM alpine AS clone
|
|
|
|
WORKDIR /source
|
|
|
|
RUN apk add --no-cache git
|
2023-01-20 19:24:36 +00:00
|
|
|
RUN git clone https://github.com/TavernAI/TavernAI
|
2023-01-20 19:31:12 +00:00
|
|
|
|
|
|
|
FROM node:19-alpine AS runtime
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=clone /source/TavernAI /app/TavernAI
|
2023-01-20 19:24:36 +00:00
|
|
|
CMD ["node","./TavernAI/server.js"]
|