mirror of
https://github.com/supanadit/geo-smart-map.git
synced 2024-11-22 08:36:25 +00:00
11 lines
189 B
Docker
11 lines
189 B
Docker
# Stage 1
|
|
FROM node:14.20.0 as node
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN npm install
|
|
RUN npm run build --prod
|
|
|
|
# Stage 2
|
|
FROM nginx:alpine
|
|
COPY --from=node /app/dist/geosmartmap /usr/share/nginx/html
|