FROM node:alpine | |
RUN apk add git curl bash wget sudo | |
WORKDIR /app | |
RUN git clone https://github.com/anse-app/anse . | |
RUN npm install -g pnpm | |
RUN pnpm install | |
COPY . . | |
RUN pnpm run build | |
ENV HOST=0.0.0.0 PORT=7860 NODE_ENV=production | |
EXPOSE $PORT | |
CMD ["node", "dist/server/entry.mjs"] |