Files
ota-admin-portal/Dockerfile
Rafi Greenberg 26e25a5b23 Deploy (#6)
* pipeline

* pipeline

* slack channel

* slack channel
2021-01-08 10:55:17 -08:00

12 lines
200 B
Docker

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