7 lines
213 B
Docker
7 lines
213 B
Docker
|
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
|