Zkt22/assignment1-fruitapp/fruitapp-frontend/.docker/dev/Dockerfile
2022-04-25 14:49:43 +05:30

16 lines
294 B
Docker
Executable File

FROM node:14
RUN npm install @angular/cli@11.0.0 -g
# Create and define the node_modules's cache directory.
WORKDIR /cache
COPY package.json .
COPY package-lock.json .
RUN npm install
# define the application's working directory.
WORKDIR /app
COPY . .
ENV PATH /app/node_modules/.bin:$PATH