<reponame>ferhatbostanci/university-inventory-management-system
FROM node:lts-alpine

# install simple http server for serving static content
RUN npm install -g http-server

# make the 'app' folder the current working directory
WORKDIR .

# copy both 'package.json' and 'package-lock.json' (if available)
COPY package.json ./
COPY package-lock.json ./

# install project dependencies
RUN npm install

EXPOSE 8080
CMD ["npm", "run", "serve"]