Files
weather-demo/Dockerfile
2021-10-20 01:01:59 +02:00

9 lines
181 B
Docker

FROM node:16
WORKDIR /app
COPY . .
RUN npm install && npm run build
FROM nginx:latest-alpine
WORKDIR /usr/share/nginx/html
COPY --from=0 /app/dist .
ENTRYPOINT [ "start-nginx.sh" ]