frontend/Dockerfile
2023-07-20 02:55:16 +07:00

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