Files
ota-admin-portal/Dockerfile
John Wu eccae3f26d Remove default localhost settings (#8)
* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit
2021-01-26 17:35:39 -08:00

11 lines
175 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