This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# angular version = 16 | |
# Get your appname from the package-lock.json file of you angular project | |
# Stage 1 | |
FROM node:latest as node | |
WORKDIR /app | |
COPY . . | |
RUN npm install | |
RUN npm run build --prod | |
# Stage 2 |