FROM node:18
WORKDIR /usr/src/app
COPY package*.json /usr/src/app
RUN npm install
COPY . /usr/src/app
RUN npm build
RUN npm build:tailwind
RUN npm build:fontawesome
EXPOSE 5000
CMD ["npm", "start"]