21 lines
393 B
Text
21 lines
393 B
Text
FROM alpine:3.16.0 as app
|
|
|
|
WORKDIR /
|
|
|
|
# Install docker
|
|
RUN apk --no-cache add docker-compose nodejs npm bash 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 /
|