mirror of
https://github.com/maplibre/martin.git
synced 2024-12-28 09:22:17 +03:00
1507625e57
This fixes Demo https://martin.maplibre.org/ site (the new code is already in production there). Main fixes: * uses HTTPS again, just like the previous site * uses nginx * fixes all the relative paths, maplibre, minor other things
15 lines
251 B
Docker
15 lines
251 B
Docker
FROM node:alpine as builder
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json .
|
|
COPY yarn.lock .
|
|
RUN yarn install
|
|
|
|
COPY . .
|
|
RUN yarn run build
|
|
|
|
FROM nginx:alpine
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html
|