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