Files
pulse-web/Dockerfile.dev
Cosmo 72915aa6c4
All checks were successful
CI / ci (push) Successful in 40s
feat: add month switcher to Finance page - fix transactions not showing
2026-03-01 05:02:23 +00:00

14 lines
315 B
Docker

FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
ENV VITE_API_URL=http://192.168.31.60:8081
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 80
CMD ["nginx", "-g", "daemon off;"]