Files
ota-admin-portal/Dockerfile
John Wu 4280191e49 CEC-179 Car download progress (#32)
* Display download progress

* Change default

* Fix

* Fix

* Update readme

* Update readme and defaults
Fix Dockerfile
2021-04-30 12:58:31 -07:00

12 lines
259 B
Docker

FROM node:12-alpine as builder
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=builder build /usr/share/nginx/html
COPY .env /usr/share/nginx/html/.env
COPY nginx.conf /etc/nginx/conf.d/default.conf