123456789101112131415161718192021222324252627 |
- FROM node:14-alpine
- RUN apk --no-cache add make
- WORKDIR /app
- COPY ./shared/package*.json ./shared/
- WORKDIR /app/shared
- RUN npm install
- WORKDIR /app
- COPY ./web/package*.json ./web/
- WORKDIR /app/web
- RUN npm install
- WORKDIR /app
- COPY ./shared ./shared
- COPY ./web ./web
- COPY ./Makefile ./Makefile
- RUN make build_web
- WORKDIR /app/web
- EXPOSE 3000
- CMD npm start
|