diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..76259b1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM nginx:alpine + +# Set up environment for building +RUN apk add yarn nodejs + +# Copy files to build environment +RUN mkdir /opt/micromobility-navigation +COPY micromobility-navigation/ /opt/micromobility-navigation + +# Run Vite production build +WORKDIR /opt/micromobility-navigation +RUN yarn +RUN yarn run build + +# Copy files to nginx path +RUN cp -r dist/* /usr/share/nginx/html diff --git a/README.md b/README.md index e62e093..42f83f9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,20 @@ +<<<<<<< HEAD # Vue 3 + Vite This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `