mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-21 17:56:53 +00:00
14 lines
300 B
Docker
14 lines
300 B
Docker
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
|