docker-react/Dockerfile
Bradley Shellnut 24e104aa04 Initial commit
2019-11-11 16:57:20 -08:00

9 lines
No EOL
170 B
Docker

FROM node:alpine as builder
WORKDIR '/app'
COPY package.json .
RUN npm install
COPY . .
RUN npm run build
FROM nginx
COPY --from=builder /app/build /usr/share/nginx/html