Files
tusha/Dockerfile
2024-12-26 20:24:15 +01:00

17 lines
261 B
Docker

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