Files
weather-demo/Dockerfile
Kamil Klecha 43c77180d7 QF build
2021-10-20 11:00:22 +02:00

9 lines
184 B
Docker

FROM node:16
WORKDIR /app
COPY . .
RUN npm install && npm run build
FROM nginx:alpine
WORKDIR /usr/share/nginx/html
COPY --from=0 /app/dist .
ENTRYPOINT ["nginx", "-g", "daemon off;"]