mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-10 07:14:24 +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
|