From 71504b335730fdef2d1e24b2c0e3bfd0d0d72991 Mon Sep 17 00:00:00 2001 From: VRSasha Date: Thu, 20 Jul 2023 02:55:16 +0700 Subject: [PATCH] Add dockerfile --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile 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