Files
memories/frontend/Dockerfile
maq ae0a6b575b
Some checks failed
CI/CD Pipeline / test (3.1) (push) Has been cancelled
CI/CD Pipeline / lint (push) Has been cancelled
CI/CD Pipeline / deploy (push) Has been cancelled
Initial commit: Complete Memories app with Leaflet map, backend fixes, enhancements, and docs
2025-11-04 21:52:45 -08:00

12 lines
228 B
Docker

FROM node:20-alpine as build
WORKDIR /app
COPY package.json ./
COPY . .
RUN npm install
RUN npm run build
FROM nginx:stable-alpine
COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]