diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a8f8280 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +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