19 lines
342 B
Text
19 lines
342 B
Text
FROM node:18-alpine3.16
|
|
|
|
WORKDIR /
|
|
|
|
RUN apk --no-cache add g++ make
|
|
RUN npm install node-gyp -g
|
|
|
|
WORKDIR /api
|
|
COPY ./packages/system-api/package*.json /api/
|
|
RUN npm install
|
|
|
|
WORKDIR /dashboard
|
|
COPY ./packages/dashboard/package*.json /dashboard/
|
|
RUN npm install
|
|
|
|
COPY ./packages/system-api /api
|
|
COPY ./packages/dashboard /dashboard
|
|
|
|
WORKDIR /
|