monorepo-microservice-rbac/apps/services/aorta/gateway/Dockerfile

7 lines
213 B
Docker
Raw Normal View History

2023-08-27 14:37:59 +08:00
FROM node:16.19-alpine
RUN npm install -g pnpm
RUN mkdir -p /www/wwwroot/aorta/gateway
WORKDIR /www/wwwroot/aorta/gateway
ADD . /www/wwwroot/aorta/gateway
RUN pnpm install
CMD pnpm run build && pnpm run start:prod