tianji/Dockerfile

16 lines
179 B
Docker
Raw Permalink Normal View History

2023-10-17 11:41:42 +00:00
FROM node:lts-alpine
WORKDIR /app/tianji
2023-10-17 11:41:42 +00:00
RUN npm install -g pnpm@8.3.1
COPY . .
RUN pnpm install --frozen-lockfile
RUN pnpm build
EXPOSE 12345
2023-10-18 16:24:53 +00:00
CMD ["pnpm", "start:docker"]