first commit

This commit is contained in:
2026-03-14 20:49:11 -04:00
commit 08768723bc
31 changed files with 8984 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:20-alpine as builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN cp node_modules/maplibre-gl/dist/maplibre-gl-csp.js public/maplibre-gl.js \
&& cp node_modules/maplibre-gl/dist/maplibre-gl-csp-worker.js public/maplibre-gl-csp-worker.js \
&& cp node_modules/maplibre-gl/dist/maplibre-gl.css public/maplibre-gl.css
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 5173
CMD ["nginx", "-g", "daemon off;"]