source: imaps-frontend/Dockerfile@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 378 bytes
Line 
1FROM node:20 AS build
2WORKDIR /app
3COPY package.json package-lock.json ./
4RUN npm install
5COPY . ./
6RUN npm run build
7FROM nginx:stable-alpine
8COPY --from=build /app/dist /usr/share/nginx/html
9COPY ./nginx.conf /etc/nginx/conf.d/default.conf
10COPY ./ssl_cert/fullchain.pem /etc/nginx/ssl/
11COPY ./ssl_cert/privkey.pem /etc/nginx/ssl/
12EXPOSE 80
13CMD ["nginx", "-g", "daemon off;"]
14
Note: See TracBrowser for help on using the repository browser.