mirror of
https://github.com/maplibre/martin.git
synced 2024-12-20 21:31:49 +03:00
11 lines
209 B
Docker
11 lines
209 B
Docker
FROM node:18-alpine as builder
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY . .
|
|
RUN npm i
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY --from=builder "/usr/src/app/dist" /usr/share/nginx/html
|