Zkt22/assignment1-fruitapp/fruitapp-frontend/.docker/dev/Dockerfile

16 lines
294 B
Docker
Raw Permalink Normal View History

2022-04-25 09:19:43 +00:00
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