diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d8b0ba4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM node:20-bullseye as build +WORKDIR /app + +COPY package*.json ./ + +RUN npm install +RUN npm install -g @angular/cli + +COPY . ./ + +RUN ng build --configuration=production + +FROM nginx:latest +COPY --from=build app/dist/aftas-angular /usr/share/nginx/html + +EXPOSE 80