tavernai/Dockerfile
Ryo Kenrie Wongso a982340b8c
All checks were successful
continuous-integration/drone/push Build is passing
Add multistage build
2023-01-21 02:31:12 +07:00

10 lines
245 B
Docker

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
CMD ["node","./TavernAI/server.js"]