Add dockerfile

This commit is contained in:
Late Night Defender 2023-07-20 02:55:16 +07:00
parent b2641e8d4b
commit 71504b3357

14
Dockerfile Normal file
View file

@ -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