tavernai/Dockerfile

11 lines
258 B
Docker
Raw Permalink Normal View History

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:40:23 +00:00
WORKDIR /app/TavernAI
CMD ["node","./server.js"]