diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..53849a9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM nginx:alpine + +# Set up environment for building +RUN apk add git yarn nodejs + + +WORKDIR /opt +RUN git clone https://gitlab.com/openKMITL/micromobility-navigation.git + + +WORKDIR /opt/micromobility-navigation/micromobility-navigation +RUN yarn +RUN yarn run build +RUN cp -r dist/* /usr/share/nginx/html