tianji/Dockerfile
2023-10-17 19:41:42 +08:00

16 lines
178 B
Docker

FROM node:lts-alpine
WORKDIR /app/tailchat
RUN npm install -g pnpm@8.3.1
COPY . .
RUN pnpm install --frozen-lockfile
RUN pnpm build
EXPOSE 12345
CMD ["pnpm", "start:pro"]