music-graph-ui/Dockerfile
2020-08-07 21:20:23 -04:00

15 lines
190 B
Docker

FROM node:10 as build
COPY ./music_graph /app
WORKDIR app
RUN npm install
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /webroot
COPY nginx.conf /etc/nginx/
EXPOSE 80