system-pri/frontend/Dockerfile

14 lines
188 B
Docker
Raw Normal View History

2022-05-23 14:23:22 +02:00
FROM node:16-alpine
WORKDIR /app
COPY package.json .
COPY package-lock.json .
2022-05-23 14:23:22 +02:00
RUN npm i
RUN mkdir node_modules/.cache && chmod -R 777 node_modules/.cache
COPY . .
CMD ["npm","start"]