mirror of
https://github.com/maplibre/martin.git
synced 2024-12-23 23:11:40 +03:00
13 lines
318 B
Docker
13 lines
318 B
Docker
FROM node:10-alpine as builder
|
|
LABEL maintainer="Andrey Bakhvalov<bakhvalov.andrey@gmail.com>"
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY package.json /usr/src/app/package.json
|
|
RUN yarn
|
|
COPY . .
|
|
RUN yarn run build
|
|
|
|
FROM nginx:alpine
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY --from=builder "/usr/src/app/build" /usr/share/nginx/html
|