geo-smart-map/Dockerfile
2022-09-10 14:11:31 +07:00

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