16 lines
179 B
Docker
16 lines
179 B
Docker
FROM node:lts-alpine
|
|
|
|
WORKDIR /app/tianji
|
|
|
|
RUN npm install -g pnpm@8.3.1
|
|
|
|
COPY . .
|
|
|
|
RUN pnpm install --frozen-lockfile
|
|
|
|
RUN pnpm build
|
|
|
|
EXPOSE 12345
|
|
|
|
CMD ["pnpm", "start:docker"]
|