system-pri/frontend/Dockerfile

14 lines
188 B
Docker

FROM node:16-alpine
WORKDIR /app
COPY package.json .
COPY package-lock.json .
RUN npm i
RUN mkdir node_modules/.cache && chmod -R 777 node_modules/.cache
COPY . .
CMD ["npm","start"]