123456789101112131415161718192021222324252627 |
- FROM node:16-alpine
- RUN apk --no-cache add make libc6-compat
- 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
|