Oill_split / frontend /Dockerfile
Utkarshres32's picture
Initial commit: AI-powered Oil Spill Detection and Monitoring System
7a5bb5d
raw
history blame contribute delete
285 Bytes
FROM node:18-alpine
WORKDIR /app
COPY frontend/package.json ./
# If package-lock.json exists, copy it (using wildcard prevents failure if missing initially)
COPY frontend/package-lock.json* ./
RUN npm install
COPY frontend/ .
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]