File size: 285 Bytes
7a5bb5d
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"]