fyp/webpage/Dockerfile

10 lines
99 B
Docker

FROM docker.io/node:22
ADD . .
RUN npm install
RUN npm run build
CMD ["npm", "run", "preview"]