|
|
@ -1,7 +1,7 @@ |
|
|
|
FROM node:latest AS build |
|
|
|
FROM node:latest AS build |
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends dumb-init |
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends dumb-init |
|
|
|
WORKDIR /usr/src/app |
|
|
|
WORKDIR /usr/src/app |
|
|
|
COPY src /usr/src/app/ |
|
|
|
COPY src /usr/src/app/src/ |
|
|
|
COPY package*.json /usr/src/app/ |
|
|
|
COPY package*.json /usr/src/app/ |
|
|
|
RUN npm ci |
|
|
|
RUN npm ci |
|
|
|
RUN npm run lint |
|
|
|
RUN npm run lint |
|
|
|